Entering cheat codes in IMVU is done through another player.
Click on another player's avatar and type the code into the chat. If it's a valid code, it should activate. Just keep in mind that not every code you find online will actually work, so results can vary.