Warlocks are, among historic Christian traditions, said to be the male equivalent of witches (usually in the pejorative sense of Europe's Middle Ages), and were said to ride pitchforks instead of broomsticks which normally witches would ride. In traditional Scottish witchcraft, "warlock" was and is simply the term used for a wizard, or male witch. A synonym is sorcerer.
The Oxford English Dictionary also provides the following meanings of the word: Warlock v1 Obs. (ex. dial.) rare, also warloke: To secure (a horse) as with a fetterlock. Warlock v2: To bar against hostile invasion.
Warlocks appear in a number of fantasy and science fiction novels, movies and games. They may be portrayed as humans who have attained magical or mystical powers, often evil, such as in the fantasy television series Charmed, in which warlocks are the evil counterparts to good witches. Elsewhere, the distinction between 'warlock' and 'witch' may be purely one of gender, such as in the television series Bewitched and Buffy the Vampire Slayer. Alternatively, warlocks may be portrayed as a separate species or alien race, such as in the comic book series Nemesis the Warlock. Occasionally the term is used to refer to technological wizardry rather than magic, such as in Christopher Stasheff's Warlock of Gramarye series of novels, or in the film Live Free or Die Hard, where 'W4rl0ck' is a computer hacker.