#158 Moved locked message to model, needs to be tested.