Locks the cache for a given Request.
bool|string true if the lock is acquired, the path to the current lock otherwise
public function lock(Request $request) : bool|string;