When a male gets a boner and he needs to hide it he tucks his penis under his waistband to make it less obvious. It works better with a belt.
In class you get a boner and you need to preform the upwards tuck.