Fastner Question

That is not a castle or castellated nut. Those type nuts are for cotter pins. That nut is one form of many, "mechanical lock nut."