TheEffBombMom Thanks for the dxdiag. The issue you're describing is common on newer HP gaming laptops, so please try one of the known workarounds:
None of these works for everyone, but something almost always does, so keep trying the workarounds until you find one that lets you play.
Additionally, your dxdiag lists a number of crashes of one of the graphics drivers. A dxdiag doesn't give any indication of when these happened, either a time stamp or what else was running at the time, so I can't tell you whether they happened while you were trying to play Sims 4. But if none of the above helps you, the next step would be a clean uninstall and reinstall of the graphics drivers. Here's how:
https://crinrict.com/blog/2019/02/clean-re-install-of-graphics-drivers-with-display-driver-uninstaller-ddu.html
Use the newest drivers HP provides for your laptop. Go here:
https://support.hp.com/us-en/drivers/laptops
Enter your serial number, choose your OS (just Windows 11 is fine) if prompted, click All Drivers, expand Driver-Graphics, and download the newest Intel and Nvidia drivers by version number. The first number matters most, e.g. 32 is newer than 31; after that, the last four numbers matter.
The proper order of operations is uninstall the Nvidia driver > uninstall the Intel driver > restart > reinstall the Intel driver > restart > reinstall the Nvidia driver > restart, all while your computer is offline.