Any life insurance company organized under the laws of this state shall have power to hold the proceeds of any policy issued by it under a trust or other agreement upon such terms and restrictions as to revocation by the policyholder and control by beneficiaries and with such exemptions from the claims of creditors of beneficiaries other than the policyholder as shall have been agreed to in writing by such company and the policyholder. Such insurance company shall not be required to segregate funds so held but may hold them as a part of its general corporate assets.
IC 27-1-12-21