Hi,
If your MacBook Pro id included following list, you need to fix it up by Apple Service Program.
- MacBook Pro (13-inch, 2016, Two Thunderbolt 3 Ports)
- MacBook Pro (13-inch, 2017, Two Thunderbolt 3 Ports)
- MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)
- MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)
- MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
- MacBook Pro (15-inch, 2016)
- MacBook Pro (15-inch, 2017)
- MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)
- MacBook Pro (15-inch, 2018)
- MacBook Pro (13-inch, 2019, Four Thunderbolt 3 Ports)
- MacBook Pro (15-inch, 2019)
Keyboard Service Program for MacBook, MacBook Air, and MacBook Pro.
https://support.apple.com/keyboard-service-program-for-mac-notebooks