A written agreement guaranteeing the home buyer a specified interest rate provided the loan is closed within a set period of time. The lock-in also usually specifies the number of points to be paid at closing.