Electronic Latch Lock Catch Door Gate 12V Electric Release Assembly Solenoid

This is a great quality compact electric lock. When the coil is energised, the slug is pulled into the center of the coil. Normally the lock is active so you can't open the door because the solenoid slug is in the way.

eBay