Sets a lock on the requested principal and returns the generated lock ID.
Sets a lock on the requested principal and returns the generated lock ID.
Attempts to return a reference to a concrete Horde_Lock instance based on $driver. It will only create a new instance if no Horde_Lock instance with the same parameters currently exists.