Lock is now a variable of the model, not the gui.