I can't promise that this would work, but it's an idea I've had for a bit and haven't "science'd" a bit. I am wondering if it would be possible to set up a rug in doorways, and the door would process that an object is there, so it wouldn't close. I doubt it'd work, but maybe give that a shot. Do a bit of science.