Lock for retreiving from cache