It's not the nylon ones. They make a lock nut that is flat on one end and somewhat squeezed together on the other. It starts to go on easy and by the time it threads on all the way the squeezed together portion goes harder. They usually stay put on their own and LocTite really makes it work. Nylon nuts are supposed to be one-time use and not always effective.
I found this on the net...( and never knew what they were called). They are a common hardware item.
Elliptical offset nuts
Elliptical offset nuts, also known as oval locknuts[1] or non-slotted hex locknuts,[3] is a nut that has been deformed at one end so that the threads are no longer perfectly circular. The deformed end is usually shaped into an ellipse or obround triangle. The nut is easily started on the male fastener as the bottom portion is not deformed. As the male fastener reaches the deformed section it deforms the threads of the nut elastically back into a circle. This action increases the friction between the nut and the fastener greatly and creates the locking action. Due to the elastic nature of the deformation the nuts can be reused indefinitely.[2]