It helps to be literal here: 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.
Stratified sampling — testing one vial from the top, one from the middle, and one from the bottom of a shipment — is cheap insurance against segregation.
In practice, 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.
Sampling plans for pharmaceutical manufacturing are defined in ISO 2859 and ANSI Z1.4, and they are based on statistical sampling theory.
Worth noting that thermal excursions during shipping affect different vials differently, so the lot may not be homogeneous even if it left the factory that way.
The practical summary: a lot number without a sampling statement is a lot number without meaning.