There's more to it than just the spec - you need to buy a laptop which is advertised as a "Gaming Laptop" because they will have additional features to keep it cool, a standard laptop will just keep shutting down when it gets too hot. Gaming laptops cost quite a lot more but you can't get a genuine gaming model on the cheap.
None of the HP x360 models are gaming laptops so avoid those.
If you want an HP one, look at these:
https/www.amazon.co.uk/hp-gaming-laptops/s?page=1&rh=i%3Aaps%2Ck%3Ahp%20gaming%20laptops