The same was achievable quite professionally as a DOO driver if someone was attempting to train surf or otherwise behaving unsafely, by simply informing the passengers of the reason for the delay (as required): “ladies and gents, I’m afraid it’s unsafe for me to move the train while person X is standing next to my cab ranting at me/holding doors open. So unfortunately we shall be remaining here until they stop doing it”.
Cue doors flying open, lots of swearing, and the person/s would invariably stop what they were doing and make themselves scarce - indeed on one occasion three off duty policemen frogmarched one troublemaker off the platform to applause from the train!
Indeed I don't think its necessarily "unprofessional" to use other passengers its just a bit of social pressure to get things moving along. Often the person causing the issue isn't too keen on being delayed themselves,