Well, I would run Memtest, if it doesn't find anything and does stay on you can rule out hardware.
BIOS/UEFI update would be next on my list if it shuts down while in Memtest.
If it is stable in BIOS, then I would blame Windows updates...
It could be a driver issue, some power saving feature not working. Maybe..