In the event of default (for example, the borrower missing a payment), the lender can make amendments to the promissory note.
This could include taking legal action, seeking repayment through collateral (if applicable), or reporting the default to credit agencies. You could also, for example, add a clause that a lump sum payment can be made to clear the debt to avoid these kinds of actions.