Not really, it was pretty verbose, but wasn't hard. Pinning is for setting package priority between multiple repos.
What you're looking apt is apt-holding:
apt-mark hold libxfont1
That been around since 2013 IIRC. And there was dpkg way of doing it before.