Kit Harington will take over the role of Gilderoy Lockhart