A rate lock guarantees your mortgage interest rate for a set period, protecting you from rising rates before closing. Locks typically last 30 to 90 days and may involve fees, which vary by lender. If rates drop after locking, some lenders offer a float-down option to lower your rate. Rate locks help with budgeting and provide stability during the loan process, but must be closed before expiration to keep the rate.