An interest rate lock is an agreement with your lender to guarantee a specific interest rate for a set period (e.g., 30, 45, or 60 days) while your loan is being processed. It protects you from rate increases before closing. You should typically lock your rate once you have a signed purchase agreement.