Modern United States Prisons tend not to have outdoor windows so there is artificial lighting inside the prison
I suspect if prisoners exercising provided electrical power, the electrical power from prisoners exercising would be less than the electrical power to maintain the artificial light in the prison