A letter lock consists of three rings each marked with 10 different letters, the maximum number of unsuccessful attempt's to open the lock is