Doors matter in this game, but you shouldn't be afraid to close them if you have time. If you close the door, Piggy must open it to chase after you or go through a previous path to try and catch you. If you do it against the bot, it'll have trouble opening the door at first...