interlock switch

interlock switch

[′in·tər‚läk ‚swich] (electricity) A switch designed for mounting on a door, drawer, or cover so that it opens automatically when the door or other part is opened.