In Lego Harry Potter: Years 1-4 for PS3, Xbox 360, and Wii, there are a ton of unlockables you can access with cheat codes. All you have to do is go to Wiseacres Wizarding Supplies in Diagon Alley and visit the vendor upstairs. Enter the following codes for the corresponding effects.
Spell Cheat Codes
Accio – VE9VV7
Anteoculatia – QFB6NR
Calvorio – 6DNR6L
Colovaria – 9GJ442
Engorgio Skullus – CD4JLX
Entomorphis – MYN3NB
Flipendo – ND2L7W
Glacius – ERA9DR
Herbifors – H8FTHL
Incarcerous – YEB9Q9
Locomotor Mortis – 2M2XJ6
Multicorfors – JK6QRM
Redactum Skullus – UW8LRH
Rictusempra – 2UCA3M
Slugulus Eructo – U6EE8X
Stupefy – UWDJ4Y
Tarentallegra – KWWQ44
Trip Jinx – YZNRF6
Gold Brick Cheat Codes
Gold Brick 01 – QE4VC7
Gold Brick 02 – FY8H97
Gold Brick 03 – 3MQT4P
Gold Brick 04 – PQPM7Z
Gold Brick 05 – ZY2CPA
Gold Brick 06 – 3GMTP6
Gold Brick 07 – XY6VYZ
Gold Brick 08 – TUNC4W
Gold Brick 09 – EJ42Q6
Gold Brick 10 – GFJCV9
Gold Brick 11 – DZCY6G
Various Effect Cheat Codes
Carrot Wands – AUC8EH
Character Studs – H27KGC
Character Token Detector – HA79V8
Christmas – T7PVVN
Detect Gold Bricks – 84QNQN
Detect Red Bricks – 7AD7HE
Disguise – 4DMK2R
Extra Hearts – J9U6Z9
Faster Digging – Z9BFAD
Faster Magic – FA3GQA
Hogwarts Crest Detector – TTMC6D
Ice Rink – F88VUW
Invincibility – QQWC6B
Multiply score by 2 – 74YKR7
Multiply score by 4 – J3WHNK
Multiply score by 6 – XK9ANE
Multiply score by 8 – HUFV2H
Multiply score by 10 – H8X69Y
Regenerate Hearts – 89ML2W
Rescue From Falling – ZEX7MV
Silhouttes – HZBVX7
Singing Mandrake – BMEU6X
Stud Magnet – 67FKWZ