The money would (I believe) go into a trust fund, overseen by a named trustee, as specified by the will. If money is withdrawn from the fund, it is legally required to be used to the advantage of the beneficiary.
Couldn't tell you the details about time limits or overthrowing the will, but I suspect that challenging the will (especially with certain lawyers working to defend it) would involve long, complex legal proceedings.