Conventional lock triggers relay. Relay triggers contact in power supply. Maglock turns off, after a momentary delay for the signal to get through. It's inelegant, but doable. However, unless you're, like, in a hotel or something where the aesthetics of an old fashioned key lock are something you value, there's no reason to ever do that.
If you're looking for a simple means of disabling the lock, if you know the design, you may just be able to cut to the chase, take out a torch, and melt your way through the wiring going to or from the power supply. Safest point would be the 120V going to the transformer, but really, there are a lot of single point failures you could, with a moment, take advantage of to disable the lock. Not gonna be subtle, but it's not as loud as taking a step to the left and blowing down the significantly less reinforced wall.
That is, of course, assuming you know where to find the wire you want.