I know how frustrating it is when something doesn't work as expected.
Perform a clean boot to see if any third-party program in the background is causing this problem. Follow the instructions carefully.
https://support.microsoft.com/en-us/topic/how-t...
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".
After finding the cause or if it does not help, return to normal boot as instructed in "Reset the computer to start normally after clean boot troubleshooting".
If it persists, do you use any third-party security software?
If so, I suggest that you temporarily remove it, preferably using the removal tool provided by the developer, and see if that solves the problem.