Turning off a switch after a certain time

Hi folks,

This may be a very basic question. I have a Lutron switch which I want to turn off after a certain time period .. let’s say 1 hour. I’m unable to find an option to check whether a switch has been on for a certain time period. How do I do this? Thanks for the help.