Setting an XMP profile on the RAM in BIOS is one of the most regular causes of system crashes in Windows.
Please upload any minidump files you have, I will check those to see if they provide any insight into a potential cause of the system crashes.
Open Windows File Explorer.
Navigate to C:\Windows\Minidump
Copy any minidump files onto your Desktop, then zip those up.
Upload the zip file to the Cloud (OneDrive... etc.), then choose to share those and get a share link.
Then post the link here to the zip file, so I can take a look for you.