Is it possible to change operating mode via key switch

Hello,
Is it possible to change the operation mode only via key switch? Definitly we want to mute our Safetysystem (Sick nanoScan3) and set the oparting Mode in manually on the Ur10e at the same time with one key switch.