In Lego Harry Potter: Years 1-4 for PS3, Xbox 360, and Wii, you can unlock a lot of spells by using 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 to unlock the corresponding spell.
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