Character Conception
Gilderoy Lockhart is the only character in the books based on someone that J. K. Rowling actually knows.
"I have only once set out to depict somebody I have met and, unlikely though it might seem, the result was Gilderoy Lockhart. I assure you that the person on whom Gilderoy was modelled was even more objectionable than his fictional counterpart. He used to tell whopping great fibs about his past life, all of them designed to demonstrate what a wonderful, brave and brilliant person he was. Perhaps he didn't really believe he was all that great and wanted to compensate, but I'm afraid I never dug that deep.
"You might think it was mean of me to depict him as Gilderoy, but you can rest assured he will never, ever guess. He's probably out there now telling everybody that he inspired the character of Albus Dumbledore. Or that he wrote the books and lets me take the credit out of kindness."
 Second Book
 Fifth Book
 Portrayals within films
 Outward Appearance
There was a big photograph on the front of a very good-looking wizard with wavy blond hair and bright blue eyes.
Lockhart is a vain man who cares about his appearance. He loves the limelight and publicity as well as giving advice on the many subjects he claims to have great knowledge of. This makes him rather unpopular with those who specialise in their subjects and who Lockhart tries to lecture.
 Magical accomplishments and skills
Lockhart claimed to have achieved a great deal in his books, from curing a werewolf and getting rid of the Bandon Banshee, to playing as Seeker in Quidditch well enough to be asked to join the National Squad. He later proved to have lied about his achievements in his books, however. He had managed to take credit for what other witches and wizards had done by tracking them down and wiping their memories, using his genuine talent with Memory Charms.