First, the lobotomy wasn't just tried for homosexuality. It was institutionalized. After a second conviction for homosexuality, the state would force lobotomy or castration on a gay man in the US. About 40% of the Father of Lobotomy Walter Freeman's 'patients' were there for being gay.
Second...