No. At level 40, Paladins get
Summon Warhorse from their class quest and Warlocks learn
Summon Felsteed, so neither needs to buy the 100 gold riding skill. Since November 9 the Felsteed quest grants the riding skill too, so Warlocks can ride regular mounts as well.
Warlocks
The November 9 hotfix made the
Summon Felsteed quest grant the riding skill. If you finished the quest before that, summon the Felsteed once and the skill shows up.
The epic mount at 60
There's a bug here for now. Paladins and Warlocks don't get epic riding from their level 60 class quest. Blizzard found it and, in late November, promised a fix within a day or two.
Everyone else
Other classes buy the riding skill from a riding trainer at 40 for 100 gold and get their racial mount for free. At Honored with your faction, vendors give you a 10% discount.