Rule Creation for "Stay" Mode

I can not set a rule for setting the panel to “Stay”, turn off the lights and, “Lock” the door at a certain time of the day and night. I set a rule last night to do just that from 10pm to 5:30am. It did not happen, someone would have to “Lock” the door for the alarm to set “Stay”. How can this get corrected?

Looks like this is addressed here.