Warlocks learn Ritual of Doom, the spell that summons a Doomguard, from a level 60 chain in the Blasted Lands. Here is every step and how the ritual works.
Warlocks in World of Warcraft: Forever learn Ritual of Doom, the spell that summons a Doomguard, from a level 60 chain in the Blasted Lands. The last quest also rewards the Tome of Sacrifice.
Daio the Decrepit gives every step. You collect materials for a crystal prison in Dire Maul and Winterspring, then capture a Doomguard Commander yourself:

| Step | Quest | Starts At | What To Do |
|---|---|---|---|
| 1 | The Prison's Bindings | Daio the Decrepit | Bring 15 Satyr Blood from Dire Maul East |
| 2 | The Prison's Casing | Daio the Decrepit | Bring 5 Tears of the Hederine from Winterspring |
| 3 | Suppression (elite) | Daio the Decrepit | Capture a Doomguard Commander: Ritual of Doom, Tome of Sacrifice |
Find Daio the Decrepit in the Tainted Scar in the Blasted Lands. The area is full of high level demons, so travel carefully:

For "The Prison's Bindings", bring Daio 15 Satyr Blood from the Wildspawn satyrs in the eastern wing of Dire Maul in Feralas. The quest pays 1 gold and 98 silver.
"The Prison's Casing" needs 5 Tears of the Hederine. They drop from the Hederine demons in Darkwhisper Gorge in Winterspring.
You can do both quests at the same time, since Daio offers them together. Return both sets of materials to Daio for the last quest.
"Suppression" is a level 60 elite quest. Daio gives you the Glowing Crystal Prison. Go into the Tainted Scar, find a Doomguard Commander and use the prison on it. The commanders walk the south end of the Tainted Scar:

The demon attacks you while the capture runs, so bring friends to keep you alive until it finishes. Collect the Imprisoned Doomguard and return to Daio.
You learn Ritual of Doom and receive the Tome of Sacrifice.
Ritual of Doom is a 10 second cast with a 30 yard range and a 1 hour cooldown, and it uses all of your base mana. It needs a Demonic Figurine as a reagent. It also needs the caster and 4 more party members: everyone right-clicks the portal and stands still until the ritual finishes.
The ritual sacrifices one random participant to summon the Doomguard. Note: The demon must be subjugated right away, or it attacks the people who helped summon it, so have Subjugate Demon ready.
Subjugate Demon is a 3 second cast that uses a Soul Shard. While the Doomguard is subjugated, it attacks 40 percent slower and casts 30 percent slower, and the control lasts up to 5 minutes. Each new attempt on the same demon is harder to hold, so finish the fight quickly.
The level 50 demon is covered in How To Get The Infernal As Warlock. At level 60 you can also earn your epic mount, see How To Get The Felsteed And Dreadsteed As Warlock.