[LockManager] Updated DBLockManager for cross-wiki support.

Change-Id: If02274a3173463ce66037221f494a1ee68ffa51d
Merge "[LockManager] Updated DBLockManager for cross-wiki support."