ATECC508A.DataZone.lock

You're seeing just the function lock, go back to ATECC508A.DataZone module for more information.
Link to this function

lock(transport, expected_contents)

View Source

Specs

lock(ATECC508A.Transport.t(), ATECC508A.crc16()) :: :ok | {:error, atom()}

Lock the data and OTP zones.

The expected contents concatenated together for the non-private key data slots and the OTP need to be passed for a CRC calculation. They are not written by design. The logic is that this is a final chance before it's too late to check that the device is programmed correctly.