One possibility is that Harry uses some advanced and little - known magic. He could have found a spell in an ancient book in the Room of Requirement. This spell might allow him to project an image of his death while he actually hides himself in a magically protected space. He may also have made arrangements with the Order of the Phoenix to spread the news of his death convincingly.
Well, he might use some substitution jutsu. He could replace himself with a log or something similar at the crucial moment, making it seem like he's been killed.
Well, Naruto could have made a deal with some powerful being or used some sort of forbidden technique. Maybe he found a way to transfer his life signs to another object or being, making it seem like he was dead. He's always been resourceful and full of surprises, so faking his own death in a really elaborate and unexpected way is not out of the question.
Maybe he used some rare magical artifacts. In the wizarding world, there are many mysterious items. He could have found an artifact that allows him to project an image of his death while he actually hides in a magically protected place. It's also possible that he faked his death by making a deal with some magical creatures that are good at deception, like the house - elves. They could have used their magic to make everyone believe he was dead.
The Death Eaters might think they've won at first. There could be chaos and fear among the good wizards. But it could also lead to a secret resistance growing stronger.
For Ron and Hermione, they would likely be devastated at first, thinking they had lost their best friend. But then they might start to suspect something when they notice small details that don't add up. Ginny would be heartbroken and might become more determined to fight against Voldemort in revenge. The Order of the Phoenix would be in chaos, with some members losing hope while others might start to investigate the circumstances of his 'death' more closely.
His friends might feel betrayed. They would be mourning his death while he was actually alive. This could lead to a lot of anger and mistrust when they find out the truth.
One possible scenario could be that Harry uses Polyjuice Potion to create a false body that appears to be his dead self. He might do this to deceive Voldemort and his Death Eaters, giving him the element of surprise to strike back later. Another scenario could involve elaborate magical illusions created with the help of his friends, like Hermione's extensive knowledge of spells and Ron's courage in the face of danger. They could set up a staged death scene that looks very real to the outside world.
His best friends Hermione and Ron would be the most likely candidates. Hermione's intelligence and vast knowledge of magic could come up with a complex plan to fake Harry's death. Ron, with his loyalty and bravery, would be there to support and execute the plan. They have been through so much together that they would be willing to take such risks for Harry.
One possible reason could be to protect his family. After the war, Naruto might have made many enemies. By faking his death, he could draw the attention of these enemies away from his family, especially his wife and children. His enemies would think he's no longer a threat and stop targeting his loved ones.
One consequence could be that his friends are devastated at first. They might go through a period of grief and self - blame for not being able to protect him.