A common lock used in a dual-usage portable computer formed of a base member and a display is disclosed to include an elongated operating frame bar longitudinally slidably mounted inside the display of the portable computer, a left-side frame and a right-side frame respectively fixedly mounted inside the display, a left-side hook coupled between the left end of the elongated operating frame bar and the left-side frame for locking the display to the base member when the computer is set in the form of a notebook computer, and a right-side hook coupled between the right end of the of the elongated operating frame bar and the left-side frame for locking the display to the base member when the computer is set in the form of a tablet PC.