You can use IFTTT webhooks to cause a 10 min delay to shut off your lights.
I used the instructions in this post to do something similar.