[Cache] added key lock mechanism