lock simplification