You sort of answered your own question. The stem binds if the locknut is tight, so install it first, then tighten the locknut.
The issue is concentricity. When tightened, the locknut isn't perfectly concentric with the ID of the fork. This is fairly common, and nothing to worry about. But if the fork ID and locknut ID are both close fits for the stem (as they should be), they'll slide on individually, but not as a pair when one is slightly offset (not concentric).
Minor issues of alignment are common in all sorts of assemblies, and your bike is no different. That's why many assemblies call for inserting and attaching ALL hardware before tightening any. Failure to follow that sequence is what has people throwing fits when the last nut and bolt won't fit through the (now) misaligned holes.
__________________
FB
Chain-L site
An ounce of diagnosis is worth a pound of cure.
Just because I'm tired of arguing, doesn't mean you're right.
“One accurate measurement is worth a thousand expert opinions” - Adm Grace Murray Hopper - USN
WARNING, I'm from New York. Thin skinned people should maintain safe distance.