A lockset (100, 200) for a box pallet, on which a lock hole corresponding to the lockset (100, 200) is provided, comprising: a lock bar (120, 220), a first end of which being provided with a hook head matched with the lock hole to realize locking, the hook head being perpendicular to the lock bar (120, 220) and extending outwards from the lock bar (120, 220), the lock bar (120, 220) being provided with a connection portion, wherein the lock bar (120, 220) is configured to be rotatably connected to a body of the box pallet through the connection portion, and as the lock bar (120, 220) rotates around the connection portion in a plane parallel to an outer surface of the body, the hook head extends into or retracts from the lock hole to realize locking or unlocking of the lockset (100, 200); and a handle (110, 210) comprising a connection end (111, 211), characterized in that the handle (110, 210) is rotatably connected to a second end of the lock bar (120, 220) opposite to the first end through the connection end 211), and as the handle (110, 210) rotates around the connection end (111, 211), a position of the handle (110, 210) changes between positions that are close to oraway from an adjacent outer surface of the body of the box pallet when the lockset is mounted to the box pallet, wherein the second end of the lock bar (120, 220) is provided with a U-shaped groove, an opening of the U-shaped groove facing away from the box pallet; the connection end (111, 211) of the handle (110, 210) is inserted into the U-shaped groove and connected via a connecting shaft passing through two side walls of the U-shaped groove; and the handle (110, 210) is rotatable around the connecting shaft. a lock bar (120, 220), a first end of which being provided with a hook head matched with the lock hole to realize locking, the hook head being perpendicular to the lock bar (120, 220) and extending outwards from the lock bar (120, 220), the lock bar (120, 220) being provided with a connection portion, wherein the lock bar (120, 220) is configured to be rotatably connected to a body of the box pallet through the connection portion, and as the lock bar (120, 220) rotates around the connection portion in a plane parallel to an outer surface of the body, the hook head extends into or retracts from the lock hole to realize locking or unlocking of the lockset (100, 200); and a handle (110, 210) comprising a connection end (111, 211), characterized in that the handle (110, 210) is rotatably connected to a second end of the lock bar (120, 220) opposite to the first end through the connection end 211), and as the handle (110, 210) rotates around the connection end (111, 211), a position of the handle (110, 210) changes between positions that are close to oraway from an adjacent outer surface of the body of the box pallet when the lockset is mounted to the box pallet, wherein the second end of the lock bar (120, 220) is provided with a U-shaped groove, an opening of the U-shaped groove facing away from the box pallet; the connection end (111, 211) of the handle (110, 210) is inserted into the U-shaped groove and connected via a connecting shaft passing through two side walls of the U-shaped groove; and the handle (110, 210) is rotatable around the connecting shaft.