I'm not sure about your problem. In prison just focus into work and be a "good guy" eventually a riot starts and with the help of the female police you can contact Agent 17 and leave.
Viewing post in Agent17 (18+ Adult Game) comments
That's the thing, I can't do anything there's no button to press to progress the game. I can't sleep, work or talk to Owen 'cause he's gone. Imma wait till the next update hoping it get's fixed.
And it's not a "unofficial" patch or whatever 'cause I've dowloaded the game from here. It's the only place I've seen the game. Nor did I used a cheat engine or software (some people on the discord server used cheats and got the stuck in the prison).