SpecialLockdb: Use Config instead of globals

Change-Id: I70b1fc0a4c89628c504f75e5e19beff5169cd5cb
Merge "SpecialLockdb: Use Config instead of globals"