Lock washers are good, and work keeping a constant sheer force against the threads. The force is (nearly) perpendicular to the direction of travel of the threads, thus the friction cuased by that between the two set of threads reduces the chance of vibration causint the nut to *walk* down the bolt
A lock nut on the other had is just like a regular nut (usually has a little bit of a taper on it, but not always) Inside that taper there is a nylon washer. The inside dameter is equal to the thread diameter (the maximum diameter of a non-threaded rod that could cleanly go through the hole in the nut). What this does is increase, more so than a lock washer, the friction between the threads by causing the threads of the bolt to conpress and deform the nylon washer.
Or, just buy yourself some Loc-Tite
