I would prove if it is a windows problem, an application conflict problem, or a user account problem.
1. First Perform a clean boot to eliminate software conflict causing the issue. If it doesn't happen in a clean boot, you have some software conflicting with Windows. Brink's procedure will help you weed out which one.
Perform a Clean Boot in Windows 11 to Troubleshoot Software Conflicts Tutorial
2. You can prove that there's no issue with your user account by creating a new
local account. Set it as administrator. If the issue does not exist using this test account, then you have some sort of corruption in your user account.
3. If neither 1 or 2 points you to the cause,
Make sure you have no corrupt system files that is causing this problem. Open a command prompt as administrator and type
sfc /scannow
Pay attention to the scan results to see if SFC found anything it could not repair.
If it found corruption it could not fix followup with this command (note the spaces)
dism /online /cleanup-image /restorehealth
Restart computer
(Note-you can follow up with another
sfc /scannow command to make sure that dism repaired the files)
4. Do a repair install if 1-2 or 3 did not point to the problem.
Repair Install Windows 11 with an In-place Upgrade Tutorial