Term: closeted
Example: jerry's gay, but he stays closeted to avoid losing his teaching job
Definition: to be a gay, lesbian, bi or queer person who hides their true sexual orientation from the public and those around them