Yes. You get it in the Tower of Mastery. She'll lend Lucario to you and make you fight her other Lucario with it after you get the Mega Ring. After the fight Lucario will join you regardless of whether or not you won the fight.
By the way, the girl's name is Korrina. :3