The invention discloses a mechanical button coded lock which finishes locking and unlocking through an external button driving an internal connected column hook, comprising a support saddle (1), cipher buttons (2), an upper cover plate (10), a lower cover plate (11), a lock plunger (5), a bolt (6) and a lock catch (20), wherein, a knob (16) is opened, cipher column hooks (4) are arranged inside the support saddle (1), the cipher column hooks (4) are in one to one correspondence with the cipher buttons (2); two clamped and hung hook plates (8), (9) are arranged inside the support saddle (1); the cipher column hook (4) penetrates the two clamped hook plates (8), (9); the clamped hook plate (8) and the clamped hook plate (9) are parallel; the cipher buttons (2) totally have 11 buttons, including zero to nine and a 'full stop'. The invention has the advantages of multilayer clamping and hanging, multiple group ciphers, reusing availability of the same button, concealed inputted buttons, etc. The invention is further improved in the aspects of cipher group quantity and security.