A distributor, configured for opening or closing a keg spear and comprising a distributor shell , an operating member movably mounted to a distributor seat, a locking member configured to lock a state of the operating member , and a control member in drive connection with the operating member to open or close the keg spear , wherein the operating member comprises a locking matching member with a locking boss protruding therefrom, and the locking boss comprises a first locking matching surface and a second locking matching surface ; the locking member comprises a locking block capable of moving to or away from the locking matching member , and a first reset member ; the first reset member acts on the locking block such that the locking block tends to move in a direction close to the locking matching member , the locking block comprises a first locking surface matched with the first locking matching surface and a second locking surface matched with the second locking matching surface ; wherein in operation the operating member drives the control member to open the keg spear when the first locking surface is matched with the first locking matching surface to lock the operating member , and at least one of the first locking surface and the first locking matching surface is provided with a first guide surface guiding the locking block to move in a direction away from the locking matching member ; and wherein in operation the operating member drives the control member to close the keg spear when the second locking surface is matched with the second locking matching surface to lock the operating member , and at least one of the second locking surface and the second locking matching surface is provided with a second guide surface guiding the locking block to move in a direction away from the locking matching member . the operating member comprises a locking matching member with a locking boss protruding therefrom, and the locking boss comprises a first locking matching surface and a second locking matching surface ; the locking member comprises a locking block capable of moving to or away from the locking matching member , and a first reset member ; the first reset member acts on the locking block such that the locking block tends to move in a direction close to the locking matching member , the locking block comprises a first locking surface matched with the first locking matching surface and a second locking surface matched with the second locking matching surface ; wherein in operation the operating member drives the control member to open the keg spear when the first locking surface is matched with the first locking matching surface to lock the operating member , and at least one of the first locking surface and the first locking matching surface is provided with a first guide surface guiding the locking block to move in a direction away from the locking matching member ; and wherein in operation the operating member drives the control member to close the keg spear when the second locking surface is matched with the second locking matching surface to lock the operating member , and at least one of the second locking surface and the second locking matching surface is provided with a second guide surface guiding the locking block to move in a direction away from the locking matching member . <EOS>