Did you click configure in the driver details? If it doesn’t auto detect the lock driver and you had to switch the driver, it’s necessary click configure to send the driver details to the device.
If it’s not showing codes, you can then try get codes, and then wait until it’s done. If you open a log window in another tab, before you click get codes, you can see the codes being captured. If it’s working correctly.
Generic Z-Wave Lock is the correct driver.