How do I create a free membership, for example a lifetime or staff plan?

In Settings > Membership & Loyalty, create a plan priced at zero and attach all the perks you want it to carry.

In Settings > Membership & Loyalty, create a plan priced at zero and attach all the perks you want it to carry. It behaves like any other plan, just without a charge.