Electronic – Transistor as a one-time switch

switchestransistors

I'm trying to develop some sort of a one-time switch.
Let's say when a criminal opens a switch – transistor opens and alarm sets on. I want it to continue working once switch is closed again.
I believe there are some special "clever" components for this purpose but can I achieve it by adding only simple stuff like transistors/capacitors/diodes/etc.?

Transistor as a switch

Best Answer

Simplest circuit is by using a SCR (Silicon Controlled Rectifier), these are pretty common components, but not as common as transistors.

schematic

simulate this circuit – Schematic created using CircuitLab

To sound the alarm, it is enough to disconnect the gate from ground using the TRIGGER switch. A small current will flow through R1, to the gate and latch the SCR. Once an SCR is latched, it can only be reset by interrupting the current through it (by pressing the RESET switch).

You can replace a SCR with two BJT's:

schematic

simulate this circuit

Circuit source