Kill Toby
I'm watching the latest Scorpion episode where they are trapped in a bunker because the computer thinks that Toby is a menace.
To me the logical course of action is to kill Toby. Once the computer knows Toby is dead, the assumed "threat" will be over and it will open the doors.
Since they don't want to kill Toby, they would have to convince the computer Toby is dead, drag his body out of the bunker when the door is open, and then revive Toby.
I don't think that the heroes will think of this, though.