The nut screwing tool with the locking function is characterized by comprising a
wrench body, a movable block, a sliding block, a locking switch, an
elastic component and a
rivet, a U-shaped fork opening is formed in one end of the
wrench body, a T-shaped sliding groove is formed in one side of the fork opening, two symmetrical grooves are formed in the upper portion of the movable block, the movable block can slide in the T-shaped sliding groove of the
wrench body, and the
elastic component is arranged in the groove. During use, the movable block is pushed backwards, a nut is placed in the U-shaped opening, the movable block is loosened, the movable block clamps the nut under the action of the
elastic component, a
quincunx through hole is formed in the other end of the wrench body, a groove is formed in the inner side of the
quincunx through hole, a through long groove is formed in the outer side of the groove, and the locking switch is fixed in the long groove through a
rivet. During use, the switch is turned on upwards, the sliding block is located on the inner side of the groove, the nut is placed in the
quincunx through hole, the switch is pressed downwards, the sliding block is pushed outwards by the switch, the sliding block stops moving when sliding to the nut, and the purpose of locking the nut is achieved.