I believe that field is for locks that require a code to operate (so it’s for HA to send to the lock so the commands will be acted upon).
There are ways to require a code, but they all require custom cards. I’m not aware of a way to require the lock entity itself to require a code for operation.