Any liens on a property remain in place regardless of who the property is transferred to.
While the new owner may not necessarily be required to pay the loan, the lender could potentially foreclose on the property if the full balance isn’t paid off.