Only if he’s lucky. Chances are he’ll be shanked not long after he’s put into the general population.
He’ll probably put in for being transgendering, and get transferred to a women’s prison.