Measure the running torque of the locknut with a fishscale; add that to the recommended bolt torque.
e.g., AN4 torque should be 50 to 70 in-lbs. If the torque needed to keep the nut turning (not tight yet, but all threads engaged) is 14 in-lbs, then use 64 to 84 in-lbs as the final setting.