I have a hub that I did this to. It is difficult to separate the locknut/cone. Found some 0.3mm wavy washer that I may fit in there next time I'm in there.
If the dropout/freehub body gets too close, you may have a problem if you plan to use a domed alloy cassette lock-ring. A flat steel lock-ring, like Shimano uses, may help