In both sentences the agent of opened, namely Pat, must be capable of opening somethingan informative constraint on Pat.
knowing that the grammatical subject of opened is Pat in the first sentence and the door in the second sentence tells us only that they are nouns.