Electronically controlled lock.

At ebay look up power door lock actuator. That's not the lock -itself- but is throws the mechanism that is the lock. In your case it could throw a pin that physically blocks a switch from being toggled, or covers a switch with a plate, there are many mechanical variations to block something. The mechanism is a motor with a worm gear drive. Once thrown the worm prevents simple pressure from returning it. The motor requires an h-bridge to reverse the motor to lock and unlock it. They're also available at auto junkyards, but because they're often intended to help a repair guy fix something that's obsolete and unavailable it may actually cost -more- than a -new- generic part. Worth a try though.