Not sure about you, however this started happening for me only after I installed Feature Update 21H2. I'm sure there are other updates that may cause this too... however, I have since backed out by uninstalling that specifically and only allowing only cumulatively security updates to come through, and so far no more issues with my USB wired mouse or Surface keyboard. (yes, my Keyboard would go dead unless I restart). Let me know if this helps you any. I fear support beyond this point will be few and far between.
Additionally, since this sounds like it could be a device conflict of some kind. Try running CCleaner or Glary Utilities on it to help clean up the gunk left over by uninstalled applications and registry **** that make no sense. Good luck.
My recommendation of last resort would be to back up everything you have and have it reinstall the OS, and apply updates back to now except 21H2 and then consider backing up the whole drive from that moment on if it is stable.