I failed at this section, now i cant beat the game It wont let me pass
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 :)