Unfortunately not a good way I know of to recover that.
If the wheel is track only... you could run it without a lockring, a fair amount of people do that.. and once it's on tight (a few good pedalstrokes) it will take some consistent backpressure or skid type maneuver to unscrew it.
Once, for a mountain biker we used a bottom bracket lockring we had laying around and screwed it onto the hub (same threads as the cog) now obviously in that scenario the cog and the lockring would both have the same directional threads, but with no directional force on the lockring (like the chain puts on the cog) it would be tough to spin it off.