Check if your RAM is still good. You need a free USB drive and memtestx86+ (
https://www.memtest.org/ ). I think it had an own tool to write to the USB drive though alternatives include Rufus and YUMI. I suppose your SecureBoot has always been disabled, you only need to keep F8 pressed during early boot to select to boot from USB or change the priorities in your UEFI aka BIOS. Usually there are instructions on the screen telling you which buttons work.
Once the blue screen of memtest appears it will start running automatically. It's recommended to let it run for full 24h or at the very least over night, 8 or more hours. If it doesn't show any errors by then you can simply shutdown or reset the PC. If it shows a couple errors, take a photo and come back for further instructions.
If there're no errors then your RAM is alright and the suspicion falls on other hardware. Alternatively you can see whether Windows records the crash as a BSoD, bluescreenview should be able to read these dumps or set your Windows 10 to
not reboot when a BSoD occurs.