Generally you would need everyone else to do that for it to help you, which isn't something you control.
Doors are nice from the public health perspective in that people actually do usually close them without even being asked.