Make sure that your PC system file is completely error free (sfc /scannow) (dism /online /cleanup-image /restorehealth) I remember I had the same issue as you except the BSOD poped up anytime it's like, so this is how I fixed it: turn off the PC, pull out the cable cord and RAM, then I hold down the power button for about 1 minute (30 seconds if u like) then put one RAM in and boot up to BIOS only (play it safe) then turn off after you land in the desktop, and repeat the step, note: always hold down the power button before placing each RAM in, when you done doing all of it, prepare a clean Windows 10 setup in USB, boot up to that and install Windows 10, pretty much done, also make sure all the component in your PC is not dammage or faulty, by checking where you bought it.