If your system is totally new, try checking your RAM with memtest too.
My Threadripper build had similar issues in Linux and Windows. Ended up being my PSU. I tried to save $30 buying a refurb one from Corsair. My system would lock up occasionally at totally stock settings and even shutdown on its own. Works perfectly now after I swapped it out.
FWIW, I'm really happy with the Threadripper/X399. Most of the early Ryzen bugs are worked out. It's a great value for the performance. Compiling large C or C++ code bases is insanely fast.
Still, I'd be wary of buying AMD's first gen mobile offering. When you buy a laptop you're buying a whole system and battery life, no glitches after sleep/wake, heat, noise, etc. trump raw performance. Intel has way more experience there. This Radeon iGPU also sits in a weird market segment. People who don't game/render/3D model on the go do just fine with the weak Intel iGPU. People who really care about that stuff can get a big laptop with faster dGPU or just do 3D on their desktop. So I guess their target is people who casually game but want a thin-ish laptop?
NB: I don't doubt AMD's ability to make a decent mobile platform. Just Intel has shipped hundreds of millions more units, so they've seen every "system crashes after sleep when re-pairing with $OBSCURE_BLUETOOTH_DEVICE" issue on earth. On a desktop you can always swap hardware, but on a laptop you're stuck with what you get.