I'm having that problem since I had my PC reinstalled with a new version of Windows 10.
While I'm playing SAMP, the game freezes my whole PC constantly, I'm on laptop so I can't even use the keyboard, except if it's a remote one.
If i keep playing with the remote keyboard, after some time the whole PC will crash and start restarting by itself.
The problem is not from the Laptop, it's happening only with this game and i have many bigger games than gta.
Thanks in advance,