
When somebody holds a door open, you should pass through quickly and deftly without holding the door open for the person behind. You should do this with an air of nonchalance.
The person behind you should not expect to get an easy pre-opened door just because the person in front held it open just for you.