I mean, thematically, it's witchcraft. Warlocks are male witches, and that's pretty much that.

So look at any folklore for people who make deals with dark spirits in exchange for power and youth, and that's your warlock. They're usually the villains.