Shlage turning on light?

I don’t see an option to work this out? What am i missing? When a code/door is opened via pad i want the lights to turn on.

You need to create a scene. In the “Commands” tab choose the light you want to control. Then go to the “Events” tab and choose the lock in the first pull down, then choose the event in the next pull down, such as “A door is opened or closed”, name it and choose which mode “Opened” or “Closed”.