The embodiment of the invention provides a shell assembly which comprises a first shell, a locking mechanism and a second shell, the first shell comprises a side wall, a first surface and a second surface, the first surface and the second surface are opposite to each other, the locking mechanism comprises a clamping part, a transmission part and a side key, the side key is movably arranged on theside wall, and the side key is in transmission connection with the clamping part through the transmission part; the second shell is rotationally connected to the first shell, so that the first shell and the second shell are selectively and relatively folded or unfolded, and the second shell is provided with a matching part matched with the clamping part; when the first shell and the second shell are oppositely folded, the second surface is attached to the second shell, and the clamping part is driven by the side key to be selectively clamped with or separated from the matching part. The side key is movably arranged on the side wall of the first shell, so that the integrity of the first shell is prevented from being damaged, the thickness of the first shell does not need to be additionallyincreased to meet the telescopic stroke of the side key, the thickness of the whole machine is reduced, and thinning design is achieved. The embodiment of the invention further provides the folding type electronic equipment.