How to get past the locked gate

//ads -- adsterra.com -- native banner
?>
At the beginning of Harry Potter and the Prisoner of Azkaban (PC), when I have to go with Neville outside, before the main entrance, there is a locked gate. So we stay in the castle with Neville.
How do I get past this locked gate?
Pictures about "How to get past the locked gate"



How to unlock the Gate with Lumenspar in the Chasm! | World Quests and Puzzles |【Genshin Impact】
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Artem Beliaikin, Travis Saylor, Bich Tran, Travis Saylor