Bellmen sometimes carry a doorstop or door wedge. It’s often made of rubber (but sometimes plastic) and is shaped like a small triangle or wedge. They place it in the door to hold it open while transporting bags. Sometimes room service staff carry these, too.
But what about a guest when they’re on their own? Self-wedging doors are brilliant, a tremendous convenience, and more hotels should emulate this.