The Harry Potter books are actually a trans allegory from a TERF point of view - Tom Marvolo Riddle is the deadname of Lord Voldemort who wants to come out to the world as a Wizard and live his life using his powers with his followers.
They want to eat the death they have been living and be true to themselves and their powers but are forced to lock themselves away from the wider world and pretend to be people they are not so as not to shock the ‘muggles’