The original answer just says to "wait till you get there"—meaning Lucario is unlocked by progressing through the game rather than through a specific code.
In Super Smash Bros. Brawl, characters like Lucario are typically unlocked by meeting certain play conditions, such as completing modes or racking up matches. Keep playing and he'll become available.