Patent ID: 8347673

Claim:
A code lock comprising: a housing, a return base, a plurality of locking seats, a fixed seat, a moveable seat, a plurality of code members, and a code seat arranged in order from top to bottom, wherein the housing includes a plurality of assembly holes for mounting a plurality of press buttons, a reset button and a knob, the return base disposed under the housing having a plurality of hooks, a leaning part set on one end, a receiving slot with a slanting surface arranged at the other, and at least one first elastic member arranged between the other end of the return base and the housing, the locking seat is arranged over the fixed seat and having an oblique surface, a tooth set both on a top surface thereof, a stopping block disposed on one end thereof away from the tooth, and a second elastic member disposed on one side, thereof while the tooth of the locking seat is corresponding to the hook of the return base; the fixed seat includes a plurality of parallel long through holes, a plurality of third elastic members and a fourth elastic member respectively leaning against each of the press buttons and the reset button, and an elastic part that supports the reset button and having a slanting surface corresponding to the slanting surface of the return base, the moveable seat includes a pressing part that attaches and contacts with the leaning part of the return base disposed on one end thereof and this end also contacts and moves along with the knob of the housing; the moveable seat further includes a fifth elastic member set between the other end of the moveable seat and the fixed seat while the moveable seat is disposed with a plurality of long slot having a code area and a non-code area, respectively corresponding to the long through hole of the fixed seat and the locking seat, the code seat is arranged under the moveable seat and having a plurality of C-shaped holes corresponding to the long through holes of the fixed seat and the locking seats while the C-shaped hole includes two vertical projecting parts that are connected with each other at one end, and the code member includes a plate and a code post that is projectingly disposed on one side of the plate facing the moveable seat and is inserting through the long slot of the moveable seat.