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