Possible to disable scene/device after hitting wrong PIN 3 or 5 times?

I have Danalock v3 (zwave version) and a Zigbee keypad from Iris. It works fine to unlock the Danalock v3 lock.

But now I would like the Scene or device to be disabled when someone hit a bad pin like 3 or 5 times. Can I do that somehow in the Vera?