A combination lock is a lock that is opened with a set of secret numbers instead of a key. Mechanical combination locks usually have a dial that is rotated to three different numbers (four numbers on some safe locks) to open the lock. Electronic combination locks usually have a keypad where the combination can be entered like a telephone number.