This has been answered by user 'xenopharb', but people keep discussing it and that user's reply is buried, so I'm replying to the OP to hopefully bubble to the top.
Caleb wasn't trapped in Nathan's room by Ava having turned the power on or off.
He was trapped because in desperation, he tried to access Nathan's workstation with his own keycard.
As Nathan explained earlier in the film, Caleb's card does not have access to all areas. It's not unreasonable to believe that Nathan's workstation would have more than just a red-light and rude beep, like a door that Caleb is not allowed to open. His own workstation could easily have stronger protocols, such as locking the room.
And the security systems around Nathan's workstations are different from the power-outage systems.
With the power back on, his security systems on his workstation would work normally, locking the room on any attempt for unauthorized access to his workstation.
reply
share