Geofencing turn on and off again

Hey folks,
Im using geogencing to turn of my garage lights when i come home. But i very often forget to turn them off again. Is it possible to make an automation where the lights trigger a turn on the lights, but after 5-10 mins turns them off again?