The correct option is B As he entered
Since the sentence talks about one event(hitting) happening when the other(entering) is in progress, "as" should be used. Hence, Options B is correct. The rest of the options do not adhere to the rule, hence incorrect.