Delay for Intrusion Alert in SHM - Success!

In your programming logic, just prior setting a virtual contact sensor to open status it should be closed to insure an open state event occurs, then closed again in a few seconds. That is how it is done in my SHM Delay SmartApp,

Personally, if I had smart door locks I would not trade a real locally processed contact sensor and convert it to a virtual cloud contact sensor. However, I have an indoor keypad so I must open the door, program a simulated delay, and use a cloud sensor.

I found presence sensors (smartphones) a totally unreliable method for arming and disarming SmartThings. I traded them in for a keypad. YMMV, particulary with an RFID tag.