Add LockDao for distributed locking.