Amazon CloudKennelâ„¢ will lure your pet into the kennel before the courier arrives and keep it secure while the delivery takes place. Choose from an extensive range of pet-bait on Amazon Fresh and Amazon Video. Suitable for common domestic animals only. Monthly subscription and wifi connection required. Restrictions apply.
I'm not sure why this is being downvoted. The Amazon rules have an exception specifically for this case: if your pet can access the front door on delivery day. They've framed it slightly more positively and gently (I'd prefer, for my pet's sake, that they require the dog to be in a closed room), but that's exactly what it means.
I suppose some people might assume this means something silly like locking your cat in a broom closet of your one-room studio apartment, when many homes with dogs have a 'dog room' which is where the pet(s) stay when the owners are out of the house. Separating your pet from potential problems is a part of responsible pet ownership.
As the owner of a Newfoundland mix, I highly recommend it even without Amazon Key - not only does my dog appreciate having her own comfortable space in which she sleeps and to which she can retreat when there are too many people over, but it helps slightly contain the hopeless shedding and drool.