Awesome does not provide autostart functionality; not in the sense of freedesktop autostart specification and using *.desktop files. Below are some solutions for you to consider.
These advices can be useful to create a screen locker with
xautolock by simply adding
xautolock -time 10 -locker slock to