How much does it cost to lock my rate

Absolutely nothing.  Locking your rate is free.