One possible plot twist could be that Harry was set up. Maybe there was a powerful dark wizard who wanted to get rid of Harry and framed him for Voldemort's death in a way that made it seem like a cold - blooded murder rather than a heroic act. Another twist could be that the wizarding world has turned against Harry because they fear his power after defeating Voldemort and use this arrest as a way to control him.
Well, perhaps in this fanfiction, the Ministry of Magic has been infiltrated by Death Eater sympathizers. They see Harry as a threat to their new - found, hidden power structure. So, they arrest him on false charges of killing Voldemort. They spread propaganda that Harry used dark magic to defeat Voldemort, which goes against the wizarding laws. This could lead to a situation where Harry has to prove his innocence while also fighting against this corrupt system within the wizarding world.
At first, Harry would likely be in a state of disbelief. He has just defeated the most evil wizard in history and now he is being treated like a criminal. He might start to question everything he has done. However, as time passes, his Gryffindor courage would kick in. He would begin to gather evidence and allies to fight against this false accusation. He would probably also be a bit resentful towards the wizarding world for not seeing the truth. He would be thinking about all the sacrifices he made during the fight against Voldemort and how ungrateful the wizarding community seems to be.
A really interesting plot twist might be that Voldemort is being controlled by an even darker force, and Harry has to figure out a way to break that control while being held captive. Or perhaps Harry's friends, thinking he is dead, accidentally start a chain of events that end up helping Harry escape in a very unexpected way. For example, Hermione might cast a spell that was supposed to be for protection but ends up creating a portal right in Voldemort's lair.
One interesting plot twist could be that Harry Potter has to sacrifice his own magic to defeat Voldemort completely. In this scenario, after the final battle, Harry becomes an ordinary wizard - no more special powers. But he is okay with it as he has saved the wizarding world.
One possible plot twist could be that while captured, Harry discovers a hidden power within himself. Maybe it's a new type of magic that he unlocks due to the extreme situation. This power allows him to not only break free from his captors but also gives him an edge over Voldemort. Another aspect could be that the capture was part of a plan all along, by Dumbledore or some other wise wizard, to deceive Voldemort and get Harry in a position where he can deliver the final blow.
One possible plot twist could be that the 'forced slave' aspect is actually a ruse by Dumbledore to get Harry close enough to Voldemort to kill him. Harry discovers this later and has to deal with his feelings of betrayal. Another could be that when Harry kills Voldemort, he absorbs some of Voldemort's power and has to struggle with the dark side that comes with it. A third plot twist might be that the force controlling Harry as a slave is actually an ancient magic that has its own motives for wanting Voldemort dead, and Harry has to break free from this magic's control after killing Voldemort.
Maybe Harry gets arrested because he's suspected of being involved in a plot to overthrow the current wizarding government. Some powerful wizards, fearing his growing influence and popularity, frame him. In the fanfiction, it could show his struggle to clear his name and expose the real conspirators, all while being locked up and facing interrogations.
A third plot twist could involve a character we least expect coming to Harry's rescue. Perhaps a Slytherin student who has been secretly against Voldemort all along. This student could have some inside knowledge about Voldemort's lair and manages to free Harry, leading to a change in the dynamic between the houses at Hogwarts.
One possible plot twist could be that Harry's connection to Voldemort allows him to understand the Dark Arts in a new way. Since he is also Lucius' mate, Lucius might try to use Harry's new - found knowledge for his own gain in the wizarding world. But Harry, with his inherent goodness, resists and tries to find a way to use this power for good instead.
A plot twist might be that when Harry goes to Voldemort, he discovers that Voldemort has a secret weakness. Maybe it's related to his family or some long - forgotten magic. Harry then has to decide whether to use this weakness against Voldemort or try to redeem him. This would add a whole new layer of complexity to the story. Another aspect could be that there are other forces at work, like a third - party wizard who is manipulating both Harry and Voldemort for their own gain, and Harry has to figure out who this is while dealing with Voldemort.
One possible plot twist could be that Harry struggles with his new identity. He might initially reject the idea but then gradually discover certain dark powers within him that he has to learn to control. This could lead to a conflict with his friends who are unsure whether to trust him.