Distributed locking library.