Walmart will soon roll out a new delivery option that could change the way e-retailers do business entirely.

The company announced on Friday that shoppers could order groceries from Walmart online and then a Walmart worker would bring the goods and put them directly in that person's refrigerator.

The program will be called Inhome Delivery, and will begin this fall in Kansas City, Missouri, Pittsburgh, Pennsylvania and Vero Beach, Florida.

Customers will purchase a special lock which can be opened by the delivery worker and will set a day for the delivery to be carried out. On that day, the worker will use smart entry technology to enter the customer's home and will put the groceries directly in the fridge. The worker will be wearing a camera that will allow the customer to see exactly on their phones what the delivery worker is doing.

Workers who will take part in the delivery program will be trained extensively, such as how to properly organize groceries in a fridge and how to select the freshest fruits and vegetables for delivery.

"The technology powering InHome Delivery combines the power of our store footprint, store associates and world-class fresh supply chain," Marc Lore, President and CEO of Walmart e-commerce U.S., wrote in a blog post.

The service will allow Walmart to directly compete with Amazon, which offers a service in some areas that allows packages to delivered directly inside homes, but not groceries.