change lock mechanics