When changing direct speech to reported speech, we must not change the meaning. If someone says "I will open the door", using the future tense in their speech, at that time that person has not yet opened the door, and is indicatinguttering a prediction or intention. In reported speech, you can only write "He said that he would open the door". It does not matter what happened after the person spoke the words.