Subject to means you take over the payment on the underlying mortgage and the seller walks away and leaves the mortgage in place regardless what state you’re in.
You just use the regular PSA with subject to addendum and disclosures to buy. When you sell you sell on contract for deed, or lease option.