Make sure you make a “makeshift crowbar” as soon as you can. Now you can crowbar open doors outside houses, run inside, shut the door, then quickly run to another room (out of line of sight from where you were), close THAT door, and then calmly go back to looting. If you were being chased, the second closed door gives you a pretty good buffer; it’ll take some time for them to bash down two doors, and they might even lose interest if they don’t see you after smashing down the first. Truthfully, if you learn to use the house layouts to your advantage, you can probably loot an entire town without firing a shot. The Zeds are pretty dumb.