Hi. I'm David, and I'm happy to help you.
This behavior can occur for several reasons. It is necessary to investigate.
Please see if your computer created minidump files.
These files are in C:\Windows\Minidump.
(If you don't have a Minidump folder, check if it is in the plural Minidumps.)
Copy any files you have to your desktop and store them in a ZIP file. Then, upload the ZIP file to the cloud (OneDrive), choose to share it, and get the link.
If the system is not stable enough to do this, start Windows in Safe Mode with Networking.
At the Startup settings step, press 5 or F5 to start Windows in Safe Mode with Networking.
Post the link to the ZIP file here so I can have a look.
Looking forward to your reply.