It will be fine for the Sims 3. I have a friend who plays it on a 4th gen Intel i5-4210u with the Intel HD 4400 graphics core on 1920x1080 resolution and I am pretty sure all of her settings were on high. A 7th Core i3-7100u with a more powerful Intel HD 620 graphics core should have no problems. Though, I would recommend you increase the RAM to 8GB. She was having periodic crashes when her laptop only had 4GB of RAM. Integrated graphics use some of the RAM installed in the laptop. The higher the resolution / higher graphic settings the more RAM the Intel HD 620 will need. No enough RAM can cause crashes.
The following short video demonstrates the Sims 4 on laptop with a 6th generation Core i3-6100u and Intel HD 520 graphics core. Only...