An exception for terminatinating execution or to throw for unit testing.
If you are defining your own Locks backend, you must implement this interface.
lock($uri, Locks\LockInfo $lockInfo)
Locks a uri.
getLocks($uri, $returnChildLocks)
Returns a list of Sabre\DAV\Locks\LockInfo objects.
unlock($uri, Locks\LockInfo $lockInfo)
Removes a lock from a uri.