Query any phrase you want.

keep it in one's pants explanation

To refrain from trying to have sex with someone.