All input on my PC has started stopping at random
Hi, I'm a Windows 11 user and for the last few weeks I have been running into a random problem that occurs every few days with no real explanation or cause. I'm not familiar with my PC's specs since I'm not too tech savvy but I have 16 gigabytes of RAM, my processor is a AMD Ryzen 5 5600X 6-Core Processor (3.70 GHz) and my GPU is NVIDIA GeForce RTX 3060 Ti (8 GB). All my drivers are up to date.
For some reason, unknown to me, randomly my PC has run into an issue of which I've never seen before. Sometimes, it will just cease all input. My mouse and keyboard just fail to receive input. They don't stop working or anything, they glow usually and they still glow when this happens, they just... don't receive any input. This also, for some reason, extends to the system's power button. It doesn't work. I have to hold down the button and force reset my PC to be able to restart it and fix the problem temporarily.
The frequency of these lock-ups as I'll call them has been random. It happened today around 30 minutes ago whilst I was playing Ultrakill, but before that it last occurred 2-3 days ago whilst I was using my Vivaldi browser. It mostly occurred whilst I wasn't using my PC whilst it was active and I was doing something else, but it has slowly been occurring more as I've been actively using it and I'm doing things. It has been incredibly annoying and I have no clue what's happening. I have a theory that my PC may need cleaning, since it really needs it with how dusty it is, but I'm unsure. If anyone can help, please do. Thanks.