Support caching of unlocked keys