lock movement working