The present disclosure relates to a locking mechanism of an inner tub and a washing machine. The locking mechanism comprises a locking rod capable of reciprocating along an axial direction, a slideway for the movement of the locking rod and a driving unit for driving the locking rod to move, the driving unit comprises a link, a crank and a rotating motor; wherein, a bearing is mounted between the locking rod and the slideway. The bearing which mounted between the locking rod and the slideway, is to reduce the friction between the locking rod and the slideway, and to prevent the locking rod from moving unsmooth that caused by got stuck from the slideway. When the crank rotates to 90° or 270°, and the friction between the locking rod and the slideway is maximum, the locking rod is ensured to move smooth.