An example of legislation being used to liberate lgbtq+ civil rights, is that in some countries, having prejudice or discriminatory actions towards people part of the lgbtq+ community is illegal, and you could be imprisoned for it. On the contrary, an example of legislation used to discriminate lgbtq+ members, is that in other countries, police tear gas and harm people who protest for the rights to be lgbtq+.