It didn't control them, it was timed so they needed to go to the bathroom, the door then locks, and the person now chooses between doing lewd things and pissing herself. Allegedly. Why they just can't hold it I don't know, maybe it implies they were given a diuretic that way they have a sudden very strong urge to pee, but there's no scene showing the first teacher or MC ingesting something.
@77BLc9JwJGpLVARkamJx
When you say others you mean the students? They weren't roofied if that's what you think, he was selling them performance enhancing drugs for sexual favors. Girls were sleeping with him to get the goods.