They do, provided you enter them in front of a moderator.
That requirement is the whole trick to the game's cheat system, and it is easy to miss. Punching the code in anywhere else will do nothing, which leads players to conclude the codes are broken when they are simply in the wrong place.