DC12V 2A Mini Electric Bolt Magnetic Solenoid Lock Cabinet Door Locks

The lock works as the circuits disconnects, and it will as the instant power-on. The red and black wires are the power cables of the electromagnetic lock, regardless of the positive and negative poles.

eBay