How disable guest access after hours? (Schlage Lock)

Hello. I have a warehouse with Schlage smart locks controlled by Smartthings (Guest lock/access) app. My staff use their codes during business hours (8am - 6pm), which is super convenient. But I don’t want them to have access to the warehouse during non-business hours (6pm to 8am). Is there a way to set the Smartthings app so that staff codes/access are disabled from 6pm to 8am?

@RBoy has a smartapp that would probably suit your needs.

Thanks so much! I’ll check it out!