Metal button switch with locking function

CN224922613UActive Publication Date: 2026-10-30YUEQING HUISHENG ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522379934.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-10
Publication Date
2026-10-30
Estimated Expiration
2035-11-10

AI Technical Summary

Technical Problem

存在的缺点是:设置自锁结构结构后,导致开关长度变长的缺点

Benefits of technology

[0005]采用上述技术方案的优点:按钮下压时,锁钩会在桃心锁锁芯上滑动,同时按钮带动动触件向下移动,此时锁钩未形成锁定,当按钮下压到位后,动触件的两端将两个静触件接通,电路实现导通,松开按钮,锁钩也会在桃心锁锁芯上形成锁定,使得金属按钮开关实现自锁,当再次按压按钮后,使锁钩与桃心锁锁芯解除锁定,按钮自行复位,锁钩也滑动直至初始位置,从而实现自动锁定和再次按压解锁的功能,因此,通过在按钮底部一体成型滑移座,安装方便,通过在滑移座上设置具有第一弹性件的安装槽,使动触件与静触件保持可靠接触,通过滑移座和第一滑移腔的滑移配合、以及第一凸块和第二滑移腔的滑移配合,使得按钮的按压动作更稳定,锁定的也流畅,通过在第一凸块上设置可拆卸的桃心锁锁芯,采用分体式结构,使得注塑成型更方便,锁钩通过连接件安装于第二滑移腔内,锁钩的安装固定方便,且锁钩与桃心锁锁芯的配合设置于滑移座的左侧面上,从而能减小操作机构的高度,因此,整体的长度短、结构合理稳定,锁定效果佳,按压也可靠。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224922613U_ABST
    Figure CN224922613U_ABST
Patent Text Reader

Abstract

A metal button switch with locking function, including being equipped with upper shell, base, button, and moving contact and pair of static contact, upper shell is equipped with first sliding cavity axially, the lower end surface of button is integrally formed with sliding seat, sliding seat and first sliding cavity sliding cooperation and being equipped with sliding anti-off structure between both, sliding seat is equipped with front and rear through installation slot, moving contact is equipped in installation slot, first spring is equipped between moving contact and installation slot, upper shell is equipped with second sliding cavity on the left side of first sliding cavity, the left side surface of sliding seat is equipped with first lug, first lug and second sliding cavity sliding cooperation, and the left side surface of first lug is detachably installed with peach heart lock cylinder, connecting piece is also equipped in second sliding cavity, connecting piece is equipped with lock hook, the lock end of lock hook and peach heart lock cylinder cooperation. The utility model discloses short, the structure is reasonable and stable, and the locking effect is good, and the pressing is also reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of switch technology, specifically a metal push button switch with a locking function. Background Technology

[0002] A push-button switch is a switch that uses a button to actuate a transmission mechanism, causing the moving contact to connect or disconnect with the stationary contact, thus switching the circuit. A traditional push-button switch structure includes a base, a housing mounted on the base, and an operating mechanism located on top of the housing. The base has at least two pins, with a stationary contact at the top of each pin. The operating mechanism has a moving contact that engages with the stationary contact to connect or disconnect. The moving contact includes a bridging rod and moving contacts at both ends of the bridging rod. To achieve normally closed or normally open operation, a self-locking structure is usually incorporated into the switch. A traditional self-locking structure includes a locking cylinder and a locking lever that engages with the locking cylinder. A drawback of this structure is that it increases the length of the switch. Utility Model Content

[0003] In view of the shortcomings of the existing technology, the purpose of this utility model is to provide a metal push button switch with a locking function, which is short in length, has a reasonable and stable structure, has a good locking effect, and is reliable when pressed.

[0004] The technical solution adopted by this utility model to solve its technical problem is a metal push button switch with a locking function, including an upper shell, a base, a button, a moving contact, and a pair of stationary contacts. A first sliding cavity is axially extended through the upper shell. The base and the button are positioned opposite each other at opposite ends of the upper shell. The button drives the moving contact to move up and down within the first sliding cavity. The stationary contacts are disposed on the base and cooperate with the two ends of the moving contact. A sliding seat is integrally formed on the lower end surface of the button, and the sliding seat slides and engages with the first sliding cavity. A sliding anti-detachment structure is provided between the two, and the sliding seat is also provided with a through mounting groove. The moving contact is inserted through the mounting groove, and a first spring is provided between the moving contact and the mounting groove. A second sliding cavity is also provided on the left side of the first sliding cavity on the upper shell. A first protrusion is provided on the left side of the sliding seat. The first protrusion slides and engages with the second sliding cavity. A heart-shaped lock cylinder can also be detachably installed on the left side of the first protrusion. A connecting member is also provided in the second sliding cavity. The connecting member is provided with a lock hook. The locking end of the lock hook engages with the heart-shaped lock cylinder.

[0005] The advantages of the above technical solution are as follows: When the button is pressed down, the locking hook slides on the heart-shaped lock cylinder, and the button moves the moving contact downwards. At this time, the locking hook is not locked. When the button is pressed down to the end, the two ends of the moving contact connect the two stationary contacts, and the circuit is completed. When the button is released, the locking hook also locks on the heart-shaped lock cylinder, making the metal button switch self-locking. When the button is pressed again, the locking hook is unlocked from the heart-shaped lock cylinder, the button resets automatically, and the locking hook slides back to its initial position, thus realizing the functions of automatic locking and unlocking by pressing again. Therefore, by using an integrally formed sliding base at the bottom of the button, installation is convenient, and by setting a sliding base... The mounting groove with the first elastic element ensures reliable contact between the moving and stationary contacts. The sliding engagement of the sliding seat and the first sliding cavity, as well as the sliding engagement of the first protrusion and the second sliding cavity, makes the button pressing action more stable and the locking smoother. The detachable heart-shaped lock cylinder is set on the first protrusion, and the split structure makes injection molding more convenient. The lock hook is installed in the second sliding cavity through the connector. The installation and fixing of the lock hook is convenient, and the engagement of the lock hook and the heart-shaped lock cylinder is set on the left side of the sliding seat, thereby reducing the height of the operating mechanism. Therefore, the overall length is short, the structure is reasonable and stable, the locking effect is good, and the pressing is reliable.

[0006] Furthermore, a transverse insertion cavity is provided on the left side of the first protrusion, and the heart-shaped lock cylinder is inserted transversely into the insertion cavity. An insertion positioning structure is also provided between the side wall of the heart-shaped lock cylinder and the side wall of the insertion cavity.

[0007] The advantages of the above technical solution are as follows: After the heart-shaped lock cylinder is inserted horizontally into the cavity, the position of the heart-shaped lock cylinder relative to the lock hook is effectively limited by the insertion positioning structure. Then, the sliding seat is inserted into the first sliding cavity, and the first protrusion is also inserted into the second sliding cavity. After assembly, the problem of the heart-shaped lock cylinder falling off can be effectively prevented. The installation is also reasonable and simple.

[0008] Furthermore, a second protrusion is provided on the right side of the sliding seat, and a third sliding cavity is also provided on the right side of the upper shell connected to the first sliding cavity, with the second protrusion slidingly engaging with the third sliding cavity.

[0009] The advantages of adopting the above technical solution are: the sliding cooperation between the second protrusion and the third sliding cavity makes the button pressing action more stable and the structure is reasonably designed.

[0010] Furthermore, a longitudinal cavity is provided on the right side of the second protrusion. The cavity has a semi-circular structure. A bottom block is provided at the bottom of the third sliding cavity. A pair of first positioning posts are provided between the upper end of the bottom block and the upper end of the cavity. The first positioning posts are used to install the second spring. A third protrusion is also provided on the left side of the bottom block. The third protrusion has a semi-circular structure to slide and cooperate with the cavity.

[0011] The advantages of the above technical solution are as follows: When the button is pressed, the second spring is compressed under the action of the upper end of the bottom block and the upper end of the cavity. During the button reset process, it can provide good elasticity, thereby achieving rapid reset. The setting of the first positioning post makes the installation of the second spring more stable. By setting the cavity into a semi-circular structure, the installation of the second spring is facilitated. At the same time, this structure also reduces the volume of the metal button switch. Furthermore, by setting a sliding cooperation third protrusion and setting the third protrusion into a semi-circular structure, the pressing of the button is more stable.

[0012] Furthermore, the connector is provided with a hollow cavity, a first abutment piece is provided on the upper wall of the hollow cavity, and a second abutment piece is provided on the lower wall of the hollow cavity. The first abutment piece and the second abutment piece elastically abut against the locking hook.

[0013] The advantages of the above technical solution are: by setting the first and second abutment pieces in the hollow cavity, an effective elastic support limit is formed for the lock hook, so that the lock hook slides smoothly in the heart-shaped lock groove of the button and has a good operating feel.

[0014] Furthermore, the left side wall of the second sliding cavity is provided with an installation cavity, the installation groove is provided through at the lower end for installing the connector, and the left and right sides of the connector are also bent to form side plates.

[0015] The advantages of the above technical solution are as follows: by setting up an installation cavity, the installation stability of the connector in the second sliding cavity is improved; by setting up a side plate, interference between the locking hook and the installation cavity is avoided; the overall structure is reasonably designed; and during installation, the connector with the locking hook is inserted into the installation cavity from the bottom side of the upper shell, and then the base is installed. After assembly, the problem of the connector falling off can be effectively prevented.

[0016] Furthermore, the lower end of the upper shell is provided with a mounting ring edge, and the mounting ring edge is also symmetrically provided with a locking slot. The peripheral wall surface of the base is symmetrically provided with locking blocks, and the locking blocks cooperate with the locking slots.

[0017] The advantages of the above technical solution are: the base and the upper shell can be snapped together by the cooperation of the locking block and the locking slot, making installation convenient.

[0018] Furthermore, anti-rotation grooves are provided between the card blocks, and anti-rotation protrusions are provided on the peripheral wall of the base, the anti-rotation protrusions being adapted to the anti-rotation grooves.

[0019] The advantages of adopting the above technical solution are: by cooperating with the anti-rotation groove and the anti-rotation protrusion, the circumferential rotation of the base can be restricted, thereby ensuring the positional accuracy of the stationary contact, making the cooperation safer, and preventing the problem of the block coming out. Attached Figure Description

[0020] Figure 1 This is an exploded view of the overall structure of this utility model; Figure 2 The upper shell structure of this utility model is viewed as follows. Figure 1 ; Figure 3 The upper shell structure of this utility model is viewed as follows. Figure 2 ; Figure 4 This is a partial structural schematic diagram of the present invention; Figure 5 This invention relates to the button structure. Figure 1 ; Figure 6 This invention relates to the button structure. Figure 2 ; Figure 7 This is a schematic diagram of the heart-shaped lock cylinder structure of this utility model; Figure 8 This is a schematic diagram of the connecting component structure of this utility model; Figure 9 This is a schematic diagram of the base structure of this utility model.

[0021] In the diagram: 1-Upper shell, 2-Base, 3-Button, 4-Moving contact, 5-Stabilized contact, 6-First sliding cavity, 7-Sliding seat, 8-Sliding anti-detachment structure, 9-Mounting groove, 10-First spring, 11-Second sliding cavity, 12-First protrusion, 13-Heart lock cylinder, 14-Connector, 15-Lock hook, 16-Insertion cavity, 17-Insertion positioning structure, 18-Second protrusion, 19-Third sliding cavity, 20-Cavity, 21-Bottom block, 2 2-First positioning post, 23-Second spring, 24-Third protrusion, 25-First abutment piece, 26-Second abutment piece, 27-Mounting cavity, 28-Side plate, 29-Mounting ring edge, 30-Barrel slot, 31-Clamping block, 32-Anti-rotation groove, 33-Anti-rotation protrusion, 34-Second positioning post, 35-Lamp foot, 36-Circuit board with lamp, 37-Button, 38-Button cover, 39-Waterproof ring, 40-Metal shell, 41-Fixing nut. Detailed Implementation

[0022] To more clearly illustrate the technical solutions in the embodiments of this utility model and / or the prior art, the specific implementation methods of this utility model will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are merely some embodiments of this utility model. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without creative effort. Furthermore, references to orientation only indicate the relative positional relationship between the components, not their absolute positional relationship.

[0023] Please see Figures 1 to 9 As shown, a metal push-button switch with a locking function includes an upper shell 1, a base 2, a button 3, a moving contact 4, and a pair of stationary contacts 5. A first sliding cavity 6 is axially extending through the upper shell 1. The base 2 and the button 3 are positioned opposite each other at the two ends of the upper shell 1. The button 3 drives the moving contact 4 to move up and down within the first sliding cavity 6. The stationary contacts 5 are mounted on the base 2 and engage with the two ends of the moving contact 4. A sliding seat 7 is integrally formed on the lower end surface of the button 3. The sliding seat 7 slides into the first sliding cavity 6, and a sliding anti-detachment structure 8 is provided between them. The sliding anti-detachment structure 8 includes a first anti-detachment block and a second anti-detachment block. The first anti-detachment block is formed on the inner walls of the front and rear sides of the sliding seat, and the second anti-detachment block is formed on the inner walls of the front and rear sides of the first sliding cavity 6. After the button 3 is installed in place, the second anti-detachment block is positioned opposite the first anti-detachment block. The upper part is provided with a mounting groove 9 that runs through the front and back of the sliding base 7. The moving contact 4 passes through the mounting groove 9. A first spring 10 is provided between the moving contact 4 and the mounting groove 9. The lower end of the first spring 10 abuts against the moving contact 4, and the upper end of the first spring 10 abuts against the upper end of the mounting groove 9. A second sliding cavity 11 is also provided on the upper shell 1 on the left side of the first sliding cavity 6. The upper and lower ends of the second sliding cavity 11 are both through. A first protrusion 12 is provided on the left side of the sliding base 7. The first protrusion 12 slides and engages with the second sliding cavity 11. A heart-shaped lock cylinder 13 can also be detachably installed on the left side of the first protrusion 12. A connector 14 is also provided in the second sliding cavity 11. A lock hook 15 is provided on the connector 14. The locking end of the lock hook 15 engages with the heart-shaped lock cylinder 13. The lower end of the lock hook 15 is a fixed end, and the upper end of the lock hook 15 is a locking end.

[0024] In the above structure, when button 3 is pressed down, the locking hook 15 slides on the heart-shaped lock cylinder 13, and at the same time, button 3 drives the moving contact 4 to move downward. At this time, the locking hook 15 is not locked. When button 3 is pressed down to the end, the two ends of the moving contact 4 are connected to the two stationary contacts 5, and the circuit is completed. When button 3 is released, the locking hook 15 will also lock on the heart-shaped lock cylinder 13, so that the metal button switch achieves self-locking. When button 3 is pressed again, the locking hook 15 is unlocked from the heart-shaped lock cylinder 13, button 3 resets itself, and the locking hook 15 slides back to the initial position, thus realizing the functions of automatic locking and unlocking by pressing again. Therefore, by integrally forming the sliding base 7 at the bottom of button 3, installation is convenient, and by setting the sliding base 7 with the first The mounting groove 9 of the elastic element 10 ensures reliable contact between the moving contact 4 and the stationary contact 5. Through the sliding cooperation of the sliding seat 7 and the first sliding cavity 6, as well as the sliding cooperation of the first protrusion 12 and the second sliding cavity 11, the pressing action of the button 3 is more stable and the locking is smooth. By setting a detachable heart-shaped lock cylinder 13 on the first protrusion 12, a split structure is adopted, which makes injection molding more convenient. The lock hook 15 is installed in the second sliding cavity 11 through the connector 14. The installation and fixing of the lock hook 15 is convenient, and the cooperation between the lock hook 15 and the heart-shaped lock cylinder 13 is set on the left side of the sliding seat 7, thereby reducing the height of the operating mechanism. Therefore, the overall length is short, the structure is reasonable and stable, the locking effect is good, and the pressing is reliable.

[0025] In this embodiment, a transverse insertion cavity 16 is provided on the left side of the first protrusion 12. The heart-shaped lock cylinder 13 is inserted transversely into the insertion cavity 16. An insertion positioning structure 17 is also provided between the side wall of the heart-shaped lock cylinder 13 and the side wall of the insertion cavity 16. In the above structure, the insertion opening of the insertion cavity 16 is on the left side of the first protrusion 12. The insertion positioning structure 17 includes a post and a slot. The post is formed on the heart-shaped lock cylinder 13, and the slot is formed on the insertion cavity 16. After the heart-shaped lock cylinder 13 is inserted transversely into the insertion cavity 16, the position of the heart-shaped lock cylinder 13 relative to the lock hook 15 is effectively limited under the restriction of the insertion positioning structure 17. Then, the sliding seat 7 is inserted into the first sliding cavity 6, and the first protrusion 12 is also inserted into the second sliding cavity 11. After assembly, the problem of the heart-shaped lock cylinder 13 falling off can be effectively prevented. The insertion opening of the insertion cavity 16 will be blocked by the wall of the second sliding cavity 11. The installation is reasonable and simple.

[0026] In this embodiment, a second protrusion 18 is also provided on the right side of the sliding seat 7, and a third sliding cavity 19 is also provided on the right side of the upper shell 1 connected to the first sliding cavity 6. The upper end of the third sliding cavity 19 is through-connected, and the second protrusion 18 and the third sliding cavity 19 slide and cooperate. In the above structure, the sliding cooperation between the second protrusion 18 and the third sliding cavity 19 makes the pressing action of the button 3 more stable and the structure is reasonably set.

[0027] In this embodiment, a longitudinal cavity 20 is provided on the right side of the second protrusion 18. The cavity 20 has a semi-circular structure. A bottom block 21 is provided at the bottom of the third sliding cavity 19. A pair of first positioning posts 22 are provided between the upper end of the bottom block 21 and the upper end of the cavity 20. The first positioning posts 22 are used to install the second spring 23. A third protrusion 24 is also provided on the left side of the bottom block 21. The third protrusion 24 has a semi-circular structure to slide and cooperate with the cavity 20. In the above structure, when the button 3 is pressed, the second spring 23 is located on the bottom block 28. Compression is achieved by the upper end of 1 and the upper end of cavity 20. During the reset process of button 3, it can provide good elasticity, thereby achieving rapid reset. The setting of the first positioning post 22 makes the installation of the second spring 23 more stable. By setting cavity 20 into a semi-circular structure, the installation of the second spring 23 is facilitated. At the same time, this structure also reduces the volume of the metal button switch. Furthermore, by setting a sliding engagement third protrusion 24 and setting the third protrusion 24 into a semi-circular structure, the pressing of button 3 is more stable.

[0028] In this embodiment, the connector 14 is provided with a hollow cavity. A first abutment piece 25 is provided on the upper wall of the hollow cavity, and a second abutment piece 26 is provided on the lower wall of the hollow cavity. The first abutment piece 25 and the second abutment piece 26 elastically abut against the lock hook 15. In the above structure, by providing the first abutment piece 25 and the second abutment piece 26 in the hollow cavity, an effective elastic support and limit is formed for the lock hook 15, so that the lock hook 15 slides smoothly in the heart-shaped lock groove 14 of the button 3, and the operation feel is good.

[0029] In this embodiment, a mounting cavity 27 is provided on the left side wall of the second sliding cavity 11. The mounting cavity 27 is provided with a through-hole at the lower end for mounting the connector 14. The left and right sides of the connector 14 are also bent to form side plates 28. In the above structure, by setting the mounting cavity 27, the installation stability of the connector in the second sliding cavity 11 is improved. By setting the side plates 28, interference between the locking hook 15 and the mounting cavity 27 is avoided. The overall structure is reasonably designed. During installation, the connector with the locking hook 15 is inserted into the mounting cavity 27 from the bottom side of the upper shell 1, and then the base 2 is installed. After assembly, the problem of the connector 14 falling off can be effectively prevented.

[0030] In this embodiment, the lower end of the upper shell 1 is provided with a mounting ring edge 29, and the mounting ring edge 29 is also symmetrically provided with a latch 30. The peripheral wall surface of the base 2 is symmetrically provided with a latching block 31, which cooperates with the latch 30. In the above structure, the mounting ring edge 29 cooperates with the lower end of the upper shell 1 to form a mounting cavity. The base 2 is placed in the mounting cavity, and the base 2 and the upper shell 1 can be snapped together by the cooperation of the latching block 31 and the latch 30, which is convenient for installation.

[0031] In this embodiment, an anti-rotation groove 32 is provided between the two locking blocks 31, and two anti-rotation grooves 32 are also provided. An anti-rotation protrusion 33 is provided on the peripheral wall surface of the base 2, and two anti-rotation protrusions 33 are also provided. The anti-rotation protrusions 33 are adapted to the anti-rotation grooves 32. Through the cooperation of the anti-rotation grooves 32 and the anti-rotation protrusions 33, the circumferential rotation of the base 2 can be restricted, thereby ensuring the positional accuracy of the stationary contact 5, making the cooperation safer, and preventing the problem of the locking blocks 31 coming off.

[0032] In this embodiment, a second positioning post 34 is provided between the upper end of the movable contact 4 and the upper end of the mounting groove 9. That is, a second positioning post 34 is provided at the upper end of the movable contact 4 and a second positioning post 34 is also provided at the upper end of the mounting groove 9. The first spring 10 is positioned and installed through the second positioning post 34.

[0033] In this embodiment, the base 2 is also provided with a receiving cavity, and the receiving cavity is provided with lamp feet 35 and a circuit board 36 with lamps. The lamp feet 35 supply power to the circuit board 36 with lamps.

[0034] In this embodiment, button 3 is also provided with button 37 and button cover 38. Button 37 is fastened to button 3 by button cover 38. In the above structure, button 37 is fastened to button 3 by button cover 38, making button 37 more stable and less likely to fall off due to frequent use.

[0035] In this embodiment, the metal push button switch also includes a waterproof ring 39. One end of the waterproof ring 39 is connected to the button 3, and the other end of the waterproof ring 39 is connected to the upper surface of the upper shell 1. More specifically, when the metal shell 40 is fixed, the other end of the waterproof ring 39 will be fixedly connected to the upper surface of the upper shell 1. By setting the waterproof ring 39, the metal push button switch can achieve a waterproof function.

[0036] In this embodiment, a fixing nut 41 is threaded onto the metal housing 40, and the metal push-button switch is fixed by the fixing nut.

[0037] The above description, in conjunction with specific preferred embodiments, provides a further detailed explanation of the present invention. It should not be construed that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art, various simple deductions or substitutions can be made without departing from the concept of the present invention, and all such modifications and substitutions should be considered within the protection scope of the present invention.

Claims

1. A metal push button switch with a locking function, comprising an upper shell (1), a base (2), a button (3), a moving contact (4), and a pair of stationary contacts (5), wherein the upper shell (1) has a first sliding cavity (6) extending through it axially, the base (2) and the button (3) are disposed opposite to the two ends of the upper shell (1), the button (3) is used to drive the moving contact (4) to move up and down within the first sliding cavity (6), the stationary contacts (5) are disposed on the base (2), and the stationary contacts (5) are used to cooperate with the two ends of the moving contact (4), characterized in that: A sliding seat (7) is integrally formed on the lower end surface of the button (3). The sliding seat (7) slides and engages with the first sliding cavity (6), and a sliding anti-disengagement structure (8) is provided between them. The sliding seat (7) is also provided with a through mounting groove (9). The moving contact (4) passes through the mounting groove (9). A first spring (10) is provided between the moving contact (4) and the mounting groove (9). The upper shell (1) is also connected to the left side of the first sliding cavity (6). A second sliding cavity (11) is provided. A first protrusion (12) is provided on the left side of the sliding seat (7). The first protrusion (12) slides and engages with the second sliding cavity (11). A heart-shaped lock cylinder (13) can also be detachably installed on the left side of the first protrusion (12). A connector (14) is also provided in the second sliding cavity (11). A lock hook (15) is provided on the connector (14). The locking end of the lock hook (15) engages with the heart-shaped lock cylinder (13).

2. A metal push-button switch with a locking function according to claim 1, characterized in that: The left side of the first protrusion (12) is provided with a transverse insertion cavity (16), and the heart-shaped lock core (13) is inserted transversely into the insertion cavity (16). A insertion positioning structure (17) is also provided between the side wall of the heart-shaped lock core (13) and the side wall of the insertion cavity (16).

3. A metal push-button switch with a locking function according to claim 1, characterized in that: The right side of the sliding seat (7) is also provided with a second protrusion (18), and the upper shell (1) is also connected to the right side of the first sliding cavity (6) with a third sliding cavity (19), and the second protrusion (18) and the third sliding cavity (19) slide together.

4. A metal push-button switch with a locking function according to claim 3, characterized in that: The second protrusion (18) has a longitudinal cavity (20) on its right side surface. The cavity (20) has a semi-circular structure. The bottom of the third sliding cavity (19) has a bottom block (21). A pair of first positioning posts (22) are provided between the upper end of the bottom block (21) and the upper end of the cavity (20). The first positioning posts (22) are used to install the second spring (23). The bottom block (21) also has a third protrusion (24) on its left side surface. The third protrusion (24) has a semi-circular structure to slide and cooperate with the cavity (20).

5. A metal push-button switch with a locking function according to claim 1, characterized in that: The connector (14) is provided with a hollow cavity. A first abutment piece (25) is provided on the upper wall of the hollow cavity, and a second abutment piece (26) is provided on the lower wall of the hollow cavity. The first abutment piece (25) and the second abutment piece (26) elastically abut against the locking hook (15).

6. A metal push-button switch with a locking function according to claim 5, characterized in that: The second sliding cavity (11) has an installation cavity (27) on its left side wall. The installation cavity (27) is provided with a through-hole at the lower end for installing the connector (14). The left and right sides of the connector (14) are also bent to form side plates (28).

7. A metal push-button switch with a locking function according to claim 1, characterized in that: The lower end of the upper shell (1) is provided with an installation ring edge (29), and the installation ring edge (29) is also symmetrically provided with a bayonet (30). The peripheral wall of the base (2) is symmetrically provided with a locking block (31), and the locking block (31) cooperates with the bayonet (30).

8. A metal push-button switch with a locking function according to claim 7, characterized in that: The card blocks (31) are provided with anti-rotation grooves (32), and the base (2) is provided with anti-rotation protrusions (33) on its peripheral wall surface. The anti-rotation protrusions (33) are adapted to the anti-rotation grooves (32).