Chain gangs are only put into the chains when they're brought out to do work, outside of "work hours" they're in their own cells like normal prisoners.