Holy crap, this was so unintuitive to play and I loved it. It reminds me of "Please, Don't Touch Anything," with the way I had to figure out what each button did as I was playing. I ended up failing horribly on my first go, but I got pretty far on the second. I think if you were to expand this game, you could have randomly generated controls that you have to figure out each time.
My only complaints are that near the beginning, there are several moments of downtime, so I think the enemy spawn rate should be faster if there are no enemies on screen. Also, it got kinda annoying how I would randomly be forced to turn the key or input a code when I try to push a switch. I think rather than having the controller lock up randomly the moment you push a switch, it should lock up at a random amount of time, regardless of whether you're pushing a switch or not, since it's more frustrating if the controls only lock up when you're pushing a switch. Also maybe make the display flash red when it locks up? Idk, these are just suggestions. I had a lot of fun, though!