It's common courtesy to let those on the elevator off before entering. If they don't move, they need to be taught some manners, just walk right through them. And I don't mean in a polite excuse me kinda way.
I guarantee next time they're waiting for the elevator they'll move and let those on the elevator out first.