Pad the freehub body with rags, hold it with a big pipe wrench or vice grips.
Another possibility is holding the freehub body pointing downwards in a vice with plastic soft-jaws (or padded with rags, again). If you position the freehub at the side of the jaws you can probably get the lockring tool in underneath.