I want to get a new laptop and I don't know what would be best for Photoshop. So far I know that 16GB RAM would be good in any case and SSD 512GB should be included. But I don't know anything about the graphics unit. Can someone help me
These are all no graphics cards but APUs. All of them shouldn't be enough for a photo shop. The best is of course the Vega 10.
Which Photoshop would you like to use? There are some where the CPU is more important than the graphics card and vice versa.
But in the comparison with integrated graphics cards there's actually nothing better than the RX Vega 10 or, more recently, also from Intel in the notebook area (but expensive).
Which is better suited for Intel i5 or Amd Ryzen 7? Amd is much cheaper than Intel. And actually wanted to work with Lightroom
Especially in Lightroom, CPU comes before GPU. A stronger GPU brings only a small additional performance in relation to the price.
But AMD Ryzen does very well especially in this application, as you can roughly see here for the desktop CPUs: https://www.pugetsystems.com/labs/articles/Adobe-Lightroom-Classic-AMD-Ryzen-5000-Series-CPU-Performance-1957/#BenchmarkResults
Thus, comparable Ryzen 5/7 mobile processors should be faster than comparable or even more expensive Intel processors. I think that from ryzen 5 4600U / H or ryzen 7 4700u and higher U / H models you are well served.