ATECC508A.Configuration.lock

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

lock(transport, expected_contents)

View Source

Specs

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

Lock the configuration zone.

The expected contents 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.