Whichever he's talking about is true for both lock pin and the kingpin as well as anything else you're trying to drive out with a hammer.
Best results come when the part is well supported, set it on an anvil, or back it up with a sledge hammer, big hunk of steel... you get the idea.
Grigg