Whether LEGO Batman: The Video Game has cheat codes depends on the console or platform you are using.
Different versions may have different unlockables, extras, or input methods, so the available options are not always the same.