Have a look at this (long) thread over here: Zwave - Yale YRD220 Lock - #5 by 5iver
That was written for OH2, but it still applies to 3.x. I’m using it in OH3 but with the older rule and item files. This works fine. I’m sure it could be updated to be used through the GUI rules. I don’t know if someone has already done that or not.