What you want to do is create the timer, then in your event map for the motion sensing, turn on the light, then start/restart the timer for 10 minutes. Then create a separate event map for when that timer expires, turn off the lights.
"When I eat, it is the food that is scared." - Ron Swanson