are you talking about self locking nuts?
basically they have a deformed thread that interferes with the mating stud and locks the nut in place.
i don't think that's it. i believe some type of plier-like tool is used to squeeze (crimp) the nut to lock it in place.