cache.locks

adding redis locks to the cache