Electronically controlled lock.

I actually have a spare door lock actuator but it's much more and much too large for what I need. I don't intend to use it to actually lock anyone out of something. I just need something to act as a circuit safety switch that has to be manually toggled on but can be automatically toggled off when needed. A small key/lock combo would be great but even some kind of rocker switch would work.