Getty Images There's a new Gilderoy Lockhart in season two of Harry Potter. Nicholas Hoult was originally confirmed for the role earlier in August Earlier this month, it was announced that Nicholas Hoult would portray the role of the Hogwarts professor in season two of the series, based on Harry Potter and the Chamber of Secrets. Kenneth Branagh portrayed the villainous character in the movie adaptation back in 2002. In the wizarding world, he was best known as an author on books about dark creatures and he becomes the Professor of Defense Against the Dark Arts at Hogwarts.