If you head over to Origin right now you will be able to pick up The Sims 4. It is just the base game, there’s no DLC included, but it is a pretty good deal.
To get the game head over to Origin’s site and click the “Get it Free” button. After that, the game will be added to your account and you can download it.
You can also try the Origin client, but some people said they had issues trying to use the client or that there isn’t an option to claim it at all.
To save you some time, the cheat codes you’re thinking of are “motherlode” and “testingCheats true”.