So i just started up my computer today, and after about 10 minutes, while on youtube, my mouse and keyboard stopped working. The lights on the keyboard and mouse where still on. I had to shut down my computer through the power button, and after i started it up, CHKDSK did a check on windows. After 10 minutes of booting it up again, (again being on youtube in mozilla firefox), same thing happened. I am typing this through safe mode and ran malwarebytes, but it doesn't detect anything.
What can i do to fix this? Thanks