Thank you for the information. This is most likely either failing or defective RAM.
Please proceed with the steps below.
Press Windows + R to open the Run dialog box.
Type mdsched.exe and press Enter.
A window will appear with two options: "Restart now and check for problems (recommended)" and "Check for problems the next time I start my computer."
Choose "Restart now and check for problems (recommended)."
Your computer will restart and the Windows Memory Diagnostic tool will automatically run.
The tool will perform a standard test by default. You can press F1 to access more options, such as different test mixes and cache settings.
The memory test will run and might take some time to complete, depending on the amount of RAM in your system.
Once the test is complete, your computer will restart again.
If your PC is still freezing, I would suggest re-seating your RAM, or if you have 2 RAM sticks, please remove one stick and test.