Hi DebangshuSingh-9536,
Since you have upgraded to Windows 11, I suggest that you update all your computer's drivers as well. Download them from the support area of the computer/motherboard manufacturer's website. Preferably download the indicated drivers for Windows 11.
Update the BIOS too. Follow the manufacturer's instructions.
If it persists, perform a clean boot to see if any third-party program in the background is causing this problem. Follow the instructions carefully.
If the problem does not occur after a clean boot. In this same article, there is a technique to help you identify which program is causing this in "How to determine what is causing the problem after you do a clean boot".
I hope this information helps. If you have any questions please let me know and I will be glad to help you out.
---------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer--