She needs to be careful.
The Bankruptcy attaches to any assets in which the Debtor has a beneficial interest. She has a beneficial interest in funds going into the pension fund.
Under the redundancy, she is entitled to receive the redundancy payment. If she does not receive it, the Trustee will want to find out why not.
Your friend will say that the employer paid the money to her pension fund.
The Trustee will characterise this as:
"... entered into an arrangement with the intention to prejudice the interest of her creditors."
On that basis, the Trustee might not only get hold of the money, but could also ask the Court to extend the term of the Bankruptcy, and to impose conditions relating to future earnings after the Bankruptcy is discharged.