Wiring an alarm to continually sound when activated
You can use a relay to latch on when the switch is closed momentarily:







simulate this circuit &ndash; Schematic created using CircuitLab

In order to shut off the alarm, you would need to turn off the power source to unlatch the relay (or by disconnecting power or earth from the relay itself).