Q: Were doors invented to let things in or keep things out
A: the door-way was invented to let things in or out. the door panel was invented to close the door way and keep things in or out. i hope i've explained that clearly