How to Set alarm

Can i setup my alarm to activate whenever the lock is pressed on my front door?

Automation rules are created in the website under the Automation page.

Navigate to Automation then select Add New Rule. Choose Event Triggered Rule.

From there you can select to automate your security system to arm when your lock is locked.