shem_11 If you've installed ReShade or GShade, please remove it and repair the game (again, if you have already). You may be able to reinstall it, but please test without it first; and if you do reinstall, make sure to grab the DirectX 11 version.
If you don't use ReShade/GShade, and you have any Razer apps installed, please remove them: Cortex, Chroma, Synapse, whatever you can find. Here again, you may be able to reinstall them, but please test first with them removed entirely.
If that's not the issue either, please try playing in a clean boot:
https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd
The one service to leave enabled is the EABackgroundService, which the EA App needs in order to run. Disable the rest as described.
When you reboot your computer, go through the Task Manager's background processes list shutting down any service that doesn't absolutely need to be running, for example anything from MSI Afterburner to RGB software might still be enabled. If you accidentally kill a critical process and it doesn't restart on its own, just reboot your computer again.
Don't open anything other than Sims 4 and the EA App while testing, not even a browser window.
If this helps, you can selectively reenable services until you find the culprit, then either leave that disabled or (if it belongs to an app you want to keep using) let me know what it is so we can try to fix the underlying issue.
If the game freezes or crashes in a clean boot, please try again, except with your computer offline. You can sign into the EA App and put it in offline mode, then disable wifi and/or disconnect the ethernet cable before pressing Play.