When the proceeds of a life insurance policy becoming a claim by death of the insured are left with an insurance company under a trust or other agreement, the benefits accruing thereunder after the death of the insured are not transferable nor subject to computation or encumbrance nor to legal process, except in an action to recover for necessaries if the parties to the trust or other agreement so agree.
S.C. Code § 38-63-50