Locks in your dreams may represent those things that are currently inaccessible to you, thus they represent frustration. Other interpretations include being an indication of safety and security.