A mortgage rate lock secures your interest rate for a specified period, protecting you from rate fluctuations while your loan is processed. It typically lasts 30-60 days, and some lenders offer extensions for a fee.