What Is the Key Truck? Locks A lock is used to lock a gate, door or lid in order to block entry by unauthorized persons. Its operation is controlled by a key or dial. Locks are available in a variety of sizes and styles, making them suitable for a variety