Definition of interlock:
(n) :
a safety device that prevents activation in unsafe conditions
"the demonstrator couldn't figure out why the machine wouldn't work, until he remembered that there was an interlock so it wouldn't operate with the cover open."