Graduation
The curve closes and a locked pool is created.
A fixed share of supply is held back from the start and becomes pool liquidity. Nobody can change that share later.
If your purchase is larger than what is left, you buy what remains, you are charged only for what you received, and the rest is returned in the same transaction.
If a launch is stuck after the curve sells out, anyone can push graduation from the token page.