A 401(k) or IRA balance can be used to purchase an annuity, with just about any terms you can imagine:
Have Puerto Rico pay for it.
From what I’ve seen of the products turned out by the Public Schools the teachers (and especially administrators) have earned no pensions. The system would have disappeared in bankruptcy if not for the govt gun barrel.