key locker optimize.