This is the right idea, but for just starting out on a long down
@Josette , it has to be worked up to a level as tempting as being next to you while eating dinner. Teach the command (down) and for pet training you could add a "stay" command. (In my training down means stay until released so I try not to use an extra command.). In the house we have a dog bed in the living room and in the office, so those are where I put the dog if I want her to stay out of my hair. When the dog will down and you can walk away, or walk around the room, then work up to leaving the room for a few seconds to a minute, then add distractions. It's not fair to add a load to the challenge before the basics are mastered. I always return to the downed dog with praise & treat, but don't let them get up to come get it! I return to the dog at basic position, praise, treat, ask for sit, praise, treat, then release word with a little party. ("basic position" means standing next to your dog like you would heel)
1. teach the command (down, sit, leave-it, recall, ANYthing!) once they understand the word and the action, then 2. train it to be done correctly. Then begin to 3. add (one thing at a time): duration, distractions and distance.
Never hurry your training, always make it rewarding and fun.