Riley kept running to their neighbor's house.  Therefore, their parent Sydney, led Riley back home.
What will Sydney want to do next?
ask Riley to lock the door
make sure Riley got home safe
close the door