privatize lock_key