A hockey lock comprising: a casing having a first recess, a path and a guide slot which communicates with the first recess and the path, the first recess having a narrowed opening defined in a first side of the casing; a core located in a housing and having a lock hole, the housing located in the first recess, the lock hole located in the narrowed opening, a cover connected to first recess of the casing to position the housing, the core being positioned between an unlock position and a locked position, a mounting member connected to the core and being co-rotated with the core, the mounting member having a recessed portion defined radially therein which is located corresponding to the guide slot when the core is positioned at the unlocked position; a latch extending through the path and having a groove which is located corresponding to the guide slot when the core is positioned at the locked position, and a pin received in the guide slot and located corresponding to the recessed portion and the groove, the pin being pushed by the mounting member to be engaged with the groove when the core is positioned at the locked position, the pin being inserted into the recessed portion and disengaged from the groove so that the groove of the latch is removed from the guide slot when the core is positioned at the unlocked position, wherein the core has a cam member mounted thereto which is co-rotated with the core, the mounting member has two contact portions which are located corresponding to the cam member, the housing has an open section and the cam member is located corresponding to the open section, the mounting member has a transverse slot defined in a periphery thereof and the transverse slot is located corresponding to the housing, the contact portions are located corresponding to the open section and located on two sides of the transverse slot, the core has a driving member which is located corresponding to the open section, the cam member is connected to the driving member and has at least one notch, the driving member has a reception hole in which a resilient member and a biasing unit are received, the biasing unit is located corresponding to the at least one notch, and the biasing unit has a tip end which is located corresponding to the at least one notch. a casing having a first recess, a path and a guide slot which communicates with the first recess and the path, the first recess having a narrowed opening defined in a first side of the casing; a core located in a housing and having a lock hole, the housing located in the first recess, the lock hole located in the narrowed opening, a cover connected to first recess of the casing to position the housing, the core being positioned between an unlock position and a locked position, a mounting member connected to the core and being co-rotated with the core, the mounting member having a recessed portion defined radially therein which is located corresponding to the guide slot when the core is positioned at the unlocked position; a latch extending through the path and having a groove which is located corresponding to the guide slot when the core is positioned at the locked position, and a pin received in the guide slot and located corresponding to the recessed portion and the groove, the pin being pushed by the mounting member to be engaged with the groove when the core is positioned at the locked position, the pin being inserted into the recessed portion and disengaged from the groove so that the groove of the latch is removed from the guide slot when the core is positioned at the unlocked position, wherein the core has a cam member mounted thereto which is co-rotated with the core, the mounting member has two contact portions which are located corresponding to the cam member, the housing has an open section and the cam member is located corresponding to the open section, the mounting member has a transverse slot defined in a periphery thereof and the transverse slot is located corresponding to the housing, the contact portions are located corresponding to the open section and located on two sides of the transverse slot, the core has a driving member which is located corresponding to the open section, the cam member is connected to the driving member and has at least one notch, the driving member has a reception hole in which a resilient member and a biasing unit are received, the biasing unit is located corresponding to the at least one notch, and the biasing unit has a tip end which is located corresponding to the at least one notch.