Need more details but have you used the canned air and renewed thermal paste?
Around last week my computer randomly started freezing while I was playing games and then started to freeze while I was using Chrome as well. These freezes normally last about 30 seconds but can sometimes cause the game to crash. Occasionally when these freezes happen I will get a message saying that Microsoft Windows has crashed. Nothing works and no programs respond once that happens which forces me to manually turn off my computer and then turn it back on. Before these freezes my computer ran perfectly fine. I have a full scan with Windows Defender to check for any viruses and cleaned my computer with CCleaner.