someone knocked on the door誰か means “someone,” and ドアをノックする means “to knock on the door.” The tense can change depending on the form used: 誰かがドアをノックしている means “someone is knocking on the door.”
JA: 夜中に誰かがドアをノックした。
EN: Someone knocked on the door in the middle of the night.