My old roommate’s 6’ Burmese Python could do the same and did so many times. They are smart enough to know the door is the way out of a room and they climb it inadvertently turning the knob.
so they do it with round knobs too?
So you would say that this is not intentionally going for a handle but just sliding around on the door and it accidentally turns the knob?