This is how we have a relaxing day on the patio at our place. We do it with dogs. We have it all fenced in so we can relax, knowing the dogs are safely with us.
When we open the door from the side porch, our dogs know which way to go depending on if we say pasture, fountain/patio, or car. If they have taken off too quickly, they will do a big u-turn to go to the proper place.
As our newest dog, Claire has been on leash in the patio area most of the summer since we tried two times off lead and she went tearing through the raised flower beds. We tried her loose over the weekend and she did good! She seems to have the idea. So far she is only free when we can supervise, but she seems to have it.