lock/unlock device on update-display