i've got a few "hold"-buttons (not toggle) that is pressed to run a certain function on our machines.
this button(s) is locked in its current state if it is pressed, using external controls, while a message appears.
the intent of having to hold the button to run a function is that it has to be quick and easy to stop the function, by letting go of the button. But if the user gets a message while holding the button it will keep the function on until the message is closed and the button is pressed and released a second time.. see example below.
Customer support service by UserEcho