After adjusting, hold the adjuster nut steady while tightening the locknut.
If you have tightened the brake shoes so that there is no excess travel before they come on, yet...