

I’m not seeing anything about laws that could cause the imprisonment of LGBT people. Where are you getting this? Like, I wouldn’t be shocked if same sex marriage isn’t legal or if laws for trans people changing their birth certificates aren’t on the books yet but I see nothing that encourages the active imprisonment or disenfranchisement of LGBT people outside of having a somewhat more conservative culture would cause as a matter of expectation. Although I will admit I didn’t look particularly hard at such issues as they have bigger things on their plate at the moment but still. If you have a source on that I’d appreciate it.
Not as much of an issue certainly but no historical society outside of perhaps hunter gatherer groups were particularly accepting of LGBT. At best they were considered a bit weird but not worthy of direct oppression. At worst they were directly oppressed. Pretty much every society upon reaching feudal relations directly oppressed LGBT people. Europe was worse because ownship was largely petit bourgeois production and an owner needs to pass on their property for society’s sake. Everyone from nobility to a blacksmith needed a legitimate heir or issues happen. Imagine the town’s only blacksmith is gay and then they die. Suddenly the necessary functions of a blacksmith are gone, this is a terrible situation. Especially because in that era trades were largely very secretive so you can’t easily train a new one, you need to find a journeymen traveling across the country to get a new smith.
Basically, the higher the concentration of ownership of property is (the more people disconnected from the Means of Production) the lower the pressure is on the average person to pass on property as less people own it. This creates more relaxeed LGBT view as any given individual doesn’t really need to pass on property. They only have personal possessions but nothing socially necessary to pass.
African societies often had more collective and central ownership so LGBT people were generally treated better however it was still viewed as negative and outside the norm.