Specifically, thermal history during shipping is different for every vial, so a lot that experienced thermal abuse may have internal variation even if it was originally homogeneous.
For a quantitative result like content, the acceptable range determines how many vials you need to test to establish the lot complies.
The sample size determination requires choosing a confidence level and an acceptable error rate, and the smaller the error rate you want, the larger your sample must be.
Published data on lot homogeneity from manufacturers who sample multiple vials consistently find variation below the published specifications, suggesting the sampling plans work.
The caveat is that sampling is a trade-off between cost and confidence, and neither test nor assumption is cost-free.
The practical summary: a lot number without a sampling statement is a lot number without meaning.