Nicholas Hoult to play Gilderoy Lockhart in Harry Potter TV series Nicholas Hoult will play Gilderoy Lockhart in the programme - the role previously played by Kenneth Branagh in Harry Potter and the Chamber of Secrets, the 2002 movie adaptation of JK Rowling's boy 12 August 2026 Nicholas Hoult has signed up for the second series of the Harry Potter TV series.