Okay there a couple of things to note here. The FE599 is an auto relock lock and few some quirks/bugs in the firmware. For one critical firmware bug we had submitted a workaround patch to SmartThings and it was incorporated into the stock device handler. The other firmware bugs patches and some feature enhancements are available in the custom Enhanced Z-Wave Lock device handler.
When I say auto relock lock, it means that when you unlock it from the outside using a code, it’ll unlock and then relock itself. You can’t change this behavior, it’s how the lock firmware is designed.
If you press the Unlock button on the inside (manual unlock or remote unlock via ST), it’ll remain unlocked until you lock it again (manual lock or remote lock via ST).
If you “open” the door by pulling down on the lever from the inside:
- while it’s locked, it’ll remain locked
- while it’s unlocked, it’ll remain unlocked
So the only way it should change states is if you’re pressing the unlock button on the inside. If you don’t want it to change state, then just pull down in the lever without manually unlocking it and it’ll remain locked (if I understood what you’re trying to do here).