'He told me that he has locked the door'.
How to write it in simple sentence?
Can it be written as 'he told me to have locked the door' but in this sentence, actual agent(doer of action),which is 'he' here, is not just beside the Infinitive. So I think it to be wrong
'He told me that he has locked the door'.
In this sentence the tense is wrong "told" is past tense so we would use "had" not "has". Also a native speaker would not usually say "he told me that" but just "he told" me in this context.
'He told me, he had locked the door'
If we bring the event into the present
'He says, he is locking the door' Here the action is is still ongoing.
'He says, the door is locked' or 'He says, he has locked the door' Here the action "locking the door" is already complete but it is being reported in the present time.
What you are actually trying to say I cannot determine because of the mixed tenses. However from the 3 alternative sentences it is clear they cannot be reduced to a simple sentence. A simple sentence would be something like "He locked the door."
A simple sentence is a sentence that consists of just one independent clause. A simple sentence has no dependent clauses. (An independent clause (unlike a dependent clause) can stand alone as a sentence.)
Ref Simple sentence
Can it be written as 'he told me to have locked the door' but in this sentence, actual agent(doer of action),which is 'he' here, is not just beside the Infinitive. So I think it to be wrong
Lets re-write the sentence to what a native speaker would say 'he told me to lock the door' "told me to" means that "me" needs to complete the action. "Me" has been requested to perform a task.