add locks backend