Patent ID: 8424933

Claim:
A locking device for an enclosure having a base and a cover adapted to be mounted on the base, the locking device comprising: a plurality of supporting recesses and a pair of supporting portions defined in the base; a plurality of barbs defining on the cover being received in corresponding supporting recesses when the cover is placed over the base and being engaged to the corresponding supporting recesses when the cover is slidably moved along the base; a pair of elastic arms assembled on the cover for engaging with the supporting portions when the cover is slidably moved along the base, whereby the cover is restricted to move relative to the base; and a pair of locking members assembled on the cover, each locking member comprising a resisting portion abutting a corresponding elastic arm, wherein each elastic arm comprises a first toothed portion, the resisting portion comprises a second toothed portion engaging with the first toothed portion, and the second toothed portions of the resisting portions can be operated to push the first toothed portions of the elastic arms, thereby making the elastic arms disengage from the supporting portions, allowing the cover to slidably move along the base to remove the cover from the base.