Well then she should come into work 10 minutes earlier. Seriously.
Then she still gets docked 10 minutes. You really don't get it.
The point is that they are forced to wait around unpaid. If they were to leave 10 minutes early, they would get docked in pay. But they have to stick around an extra 10 minutes for something work related and don't get paid. They should be paid or allowed to have the bags searched prior to their shift end.