A way to detect when a Lock key has been pressed.