Locknuts are used in conjunction with a male threaded cable gland and often an IP washer to positively locate equipment in a thin walled enclosure.
They are offered in plated brass and stainless steel to match the cable gland / enclosure.
For further alternative materials see the Raxton locknuts.