The Prison Commons Mod allows you to mark any enclosed Gather Spot (table, sculpture, campfire, etc) as a prison commons area.
Prison commons areas act as part of the prison, allowing prisoners to freely enter through doors.
Having trouble with prison breaks due to door count? Check out this guide by Lurmey.