"Sir Glancelot" was a made-up individual who served as the punchline of a joke told by the Thirteenth Doctor to King Harold and later Harold Wyntonia, that posed the question "what do you call a knight who always cheats on his tests?" (COMIC: Mistress of Chaos)
Behind the scenes
The name is a clear pun on Sir Lancelot.