| CPC E05C 3/12 (2013.01) | 4 Claims |

|
1. A device with lock function comprising:
a casing comprising a bracket, the bracket comprising an opening;
a lock member comprising a first engaging portion and a through hole;
a standoff embedded on the bracket;
a screw passing through the through hole to be fixed to the standoff to pivotally connect the lock member to the bracket;
a cover disposed on the casing, the cover comprising a second engaging portion; and
a shielding member comprising a protruding portion;
wherein, when the shielding member is assembled to the casing, the protruding portion passes through the opening to push the lock member to engage the first engaging portion with the second engaging portion to lock the cover.
|