What driver are the locks using? I don’t recall if the stock driver exposes setting the code length or not. I know that the Z-Wave Lock PH driver from @philh30 exposes it in the settings menu for the lock. If the driver you are using doesn’t expose it, check in the ST Advanced Web App under the Attributes for your lock. You should see the main.lockCodes.codeLength component which will tell you the currently expected code length. Then scroll further down and look for the setCodeLength command. You can use that to change the required code length keeping in mind all existing codes on the lock will be deleted.