jar admonishes:
...but Dr. A did not reply saying "...wrong, not the answer."
He might have missed it.
That was my first thought as well.
Here's my second thought:
Just as the people in front of Dr. A were walking through the entrance door, the store manager, having given his warning to the shoppers inside that it was time to close, noted that it was in fact now time to close and hit the switch that locked the entrance doors just fractions of a second before Dr. A stepped on them.
- xongsmith, 5.7d