A nylon lock nut, also called a nyloc or prevailing-torque nut, has a nylon ring in the upper part of the nut. When the bolt thread passes through, it compresses or cuts into the ring, creating friction that holds the nut in place against vibration. The insert can be reused a limited number of times, after which its grip falls off.
The nut is intended for a defined temperature range, so confirm the service temperature before specifying nylon. Check the thread class and the coating, since a heavy plating build-up can make the nut hard to run down. Prevailing torque should be checked on a sample rather than assumed, especially for safety-related joints.