Someone did modify the code for this visonic sensor already. I don’t see lock but pretty sure the author would help.