On the off chance that it could be hardware related, restart the system and start tapping F12 immediately. Choose full diagnostics from the menu and watch for any errors, in particular and drive or RAM errors. Also download and run Memtest 86 free from this web site. If you run Memtest and see even 1 error then you probably are having RAM problems.   Also what GPU do you have installed and did you upgrade or replace any RAM in the system? Also this forum post may help and lastly, you do not have Smartbyte installed do you?
It's infrequent and unpredictable, but when it happens, my games stutter and freeze up for the shortest period of time, usually less than a second, but on some occasions up to 2 seconds. I thought it was maybe OS bloat so I nuked everything and did a fresh install of Win 10 20H2. My machine is now pristine, fully patched with nothing installed other than one game as a test platform. The problem persists. I had this problem last year and found a solution that someone suggested and it made all the difference in the world. It was some kind of simple solution, like turning off a system service, or a bios setting, something I don't recall now (and I didn't write it down ...  Anyone seen this behavior and have any ideas on what is causing this and how to fix it? Thanks for any insights or suggestions.
Aurora R9, intermittent freezes, even after fresh Win10 install