LEGO Batman 2: DC Super Heroes Cheats :
Code - LEGO Batman 2 - Red Brick and Character Codes
Pause the game to bring up the menu, select "Enter Code" and... enter code! Codes can be entered at any time, and are made available immediately. Remember that you only have to enter the codes once per save slot, but you have to re-enable them if you quit/restart!