When a contract of annuity, a policy of insurance, or other contract of a life insurance company authorized to do business in this State is entered into with any person for the benefit of another, and such contract so provides, a beneficiary entitled to any of the proceeds retained thereunder by such company or to interest thereon shall not be permitted to commute, anticipate, encumber, alienate, or assign the principal or interest thereon, or any part thereof, nor, if such contract so provides, shall any part of such principal or interest be subject to the claims of creditors of any such beneficiary, nor be in any way subject to such beneficiary's debts, contracts, or engagements, or to any judicial process to levy upon or attach such proceeds for payment of such claims or demands. Contracts so providing shall be valid and enforceable.
8 V.S.A. § 3705