Wanting to use kwickset lock as alarm keypad

So I have the Kwickset deadbolts with the keypads both zigbee enabled and I use them on the security app. One of the apps I have is called pushover notification. It’s smart enough to know even what code was used ie code 1 code 2 etc. What I’m wanting to do is use this same logic to create a automation that will control lights and disable security.

Check out these two apps, the first one will allow you to program the codes on your lock. If you prefer not manually program your users then you can use the second app, it has all the functionality of the first app except the programming.