Again, the solution is delightfully simple. Behave and don’t harm others or their property. If they fulfil that requirement, they can come out the cell. If they misbehave, back in you go for twice as long. The choice is entirely in the hands of the individuals concerned.
Showers could be by...