Smart alarm - deactivate by unlocking lock

This one runs on the stock device handler, doesn’t hurt to use the enhanced device handler but most features work fine with the stock.

http://community.smartthings.com/t/release-door-lock-user-code-management-create-delete-and-schedule-codes-with-automatic-lock-unlock-and-shm-integration/7043