Patent ID: 8453167

Claim:
A locking mechanism for installation on a device body, the device body including an actuating element for ejecting out a tray, said locking mechanism comprising: a bezel formed with a through hole and including a first positioning portion spaced apart from said through hole; a locking element provided movably on said bezel and including a front operating portion extending through said through hole and movable along said through hole in a left-right direction, at least one guide pin extending in a front-rear direction, and an engaging portion configured to releasably engage said first positioning portion; and a press button extending into said through hole and mounted slidably on said guide pin, said press button being adapted to be disposed in front of the actuating element and including a contact portion adapted to be spaced apart from the actuating element in the left-right direction, said contact portion being adapted to be alignable with the actuating element to contact and press the actuating element for ejecting the tray; wherein said front operating portion being operable to move said press button between a non-operative position, where said contact portion is adapted to be placed out of alignment with the actuating element, and an operative position, where said contact portion is adapted to be placed in alignment with the actuating element, said engaging portion configured to engage and disengage said first positioning portion when said press button is in said non-operative and operative positions, respectively.