You can pop the keys out, but quite often the mechanism underneath breaks. You may well do better by replacing the whole keyboard.
I’m not familiar with your particular laptop but it’s a simple matter to change the keyboard on virtually all traditional clamshell types like yours. Look through the repair and disassembly guides for similar MSI models, or check for a YouTube disassembly video. Yours, even if a slightly different model, will almost certainly be vey similar.
In short, there may be one or two screws passing through the laptop from the bottom, holding the keyboard in place, and/or you may have to unclip a bezel between the keyboard and the hinge. Then it’s normally just a case of releasing the clips along the top (or possibly bottom) edge of the keyboard, angling it up and out, and (gently) releasing the ribbon cable clamp.
You can usually find replacements quite cheaply on eBay. just make sure the one you choose is compatible with your exact model, and is the right nationality.