That is an optional route. There is another path inside the next room through the hallway.
The idea there was to show the mechanic that upon hack failure some devices can get locked forcing you to find another route.
Thank you for playing :)