Improvements to sharing access to lock db in lock-queue