Gilderoy Lockhart is the Defense Against The Dark Arts Professor in Episode 2: Chamber Of Secrets.
Order of the Phoenix (Book only)
He is a pompous wizard playable party member character in LEGO Harry Potter: Years 1-4 Chamber Of Secrets Chapter 6: The Basilisk.
Year TwoEditGilderoy Lockhart first appears in the first level of Year Two: The Burrow at Flourish Blotts handing out hte autobiography Magical Me.
He is adored by Molly Weasley and all the other female witches in the bookshop including Ginny Weasley and Hermione Granger.
He appears in the followign second level Dobby's Plan Outro attempting to repair Harry's arm but instead results in his arm losing all it's bones.
He appears in the final level: The Basilisk as a playable party member character who aids Harry and Ron up until the second Midtro Cutscene showing them reach the door to the main chamber.
Gilderoy attempts to turn on the two and steals Ron's Wand.
He casts the spell Obliviate and instead ends up losing his memory and being blocked off from Harry with Ron.
After being hit by his own Memory Charm he was sent to St. Mungo's for Magical Maladies and Injuries but was never fully recovered. He sees Harry and his friends again but does not remember teaching them from their second year.
Defense Against The Dark ArtsEdit
Gilderoy Lockhart brings in a cage of Cornish Pixies to his Defense Against The Dark Lesson with Harry, Ron, Hermione and the others where he unleashes them, instructing Harry, Ron and Hermione to cast the spell Immobilus to rid all the pixies in the classroom.