JKeyLockManager provides fine-grained locking with application specific keys.