I’ve found this: https://www.makeuseof.com/tag/finally-fix-windows-10-mouse-issues/
#Ever since a few days ago my mouse has been randomly freezing and it continuously gets worse.
1 messages · Page 1 of 1 (latest)
And this from Microsoft official: https://support.microsoft.com/en-us/windows/mouse-and-keyboard-problems-in-windows-94b4ca7b-4f2f-077e-4eb4-f7b4ecdf4f61
Troubleshoot problems you might be having with your mouse or keyboard, or other wireless device in Windows.