Hello Rahul Thakur,
Welcome to Microsoft Q&A.
I understand your situation. Based on your description, your PC enters sleep mode unexpectedly even when no operations are performed, and unfortunately, the steps you’ve taken so far haven’t resolved the issue. When standard troubleshooting doesn’t help, you might consider using a tool to keep your computer awake and prevent it from entering sleep mode. One of the simplest options is to download PowerToys from the Microsoft Store, which includes a built-in tool called Awake that can help you achieve this. If you’re willing, feel free to give it a try and see if it makes a difference.
Thank you for your patience and cooperation. Please keep me updated if you make any further progress.
Best wishes
Ian | Microsoft Q&A Support Specialist