Why is Chris Hansen here? Did Matt do something that we don't know about?
On the topic of the question. I'm pretty sure if you smashed a keypad the door would stay closed, or worse trip the breaker panel and be stuck without power and a permanently locked door.
Although, I could see an OSHA regulation that makes it so there's an emergency latch to manually open the door in case of a fire or something. That or a fire exit.
If you want to bypass a keypad the best way to do that is by delicately opening-up the keypad, find the wires that control the door mechanism, and short them to activate the door (if you short the wrong pair of wires you'll trip the breaker). However, if the keypad is just sending commands to a PC somewhere in the facility to open the door then you're shit outa luck. You'll need an SBC like a Raspberry Pi or Flipper Zero to mimic the encrypted code the keypad sends to that PC to open the door, and that could easily trigger an alarm, so best to just stay put until someone else opens that door.
In brief: don't smash a keypad. It doesn't work like it does in the movies.
