Something might be poorly connected? I don't really know. Back in 2000, we had a family computer Compaq 5000 that would freeze at random times, even during boot ups. Turned out the motherboard had a hairline crack that kept spreading.
Maybe your sleep mode is messed up? Win10 never *"actually"* fully shuts down, AFAIK.