If that person is still alive...dear G-d what they must be feeling.
I work at a LARGE software company, and there are repeated warnings about "letting" people in after you punch in your code. However, the young, liberal staff would feel that they were "profiling" or being "bigoted," if they shut the door on a perp such as this one.
If the security system requires people to close the door on somebody trying to follow them, then the security system is at fault, not the employee.
A proper system allows only one person per authorization, using a two-door system, a turnstyle or a manned entrance. Having employees punch a code and then tasking each employee with supervising the open door means they had no security at all. This is just an annoyance to the staff, and is easily defeated.