This circuit locks when the sensors are opened. The relay can be 6 or 12 V depending on the power supply. R1 adjusts the rest current. The circuit is from a 1976 Radio Shack documentation.

 

Datasheets


N° of component