Ah, my mistake. I didn't read into it enough.
They can't choose to do nothing, because they would never know who had gone and when. They can't leave the lightbulb on permanently because the same would apply. If they alternate (one turns it on, one turns it off), they will lose the pattern the instant someone is used twice.
They must find a way to each leave an individual mark/clue, so that twenty marks will show that they have gone twenty times. If a prisoner is selected twice, he would do nothing because he has seen his mark.
OH! After reading this I nearly have it.
If one person is chooses to always turn the light on when he goes in, everytime he sees the light off he can add one to the number.
But how to tell other people to turn on the light, I don't know. And that would mean he had to get picked 99 times.
Better off just waiting 3 years and reporting the jail to the government for disrupting mental health.