In this video, I'll show you how to create a puzzle in which players must enter a series of inputs in the correct sequence in order to release a maglock.
It uses an Arduino, a 5v relay, a 12v maglock, and a handful of resistors, LEDs, and momentary pushbutton switches.