A lock-in is an agreement by the lender guaranteeing the applicant a specified interest rate on the mortgage loan provided the loan closes within a set period of time.