Say in nineteen or twentieth century.
Can you be more clear about what exactly you mean? Obviously the defense of marriage act was used against lesbians in the US until Obergafell. This year in Uganda, an 8 year old girl was arrested for lesbianism. Is there a specific country or law you are curious about?