I don’t use a laptop myself so my situation is different than yours. That being said.
I don’t know what kind of microphone you’re using? But depending upon where the microphone is placed, will determine how much keyboard noise/keyboard typing sounds it picks up.
If you’re using a built-in microphone on the laptop. It’s probably going to be very close to the keyboard and pick up those sounds quite easily. That is going to be an unavoidable consequence of using the onboard microphone. Unless you can separate the keyboard from the monitor.
I can tell you what works for me. I use a noise canceling microphone with a headset. The microphone is directional. Meaning it picks up noise from only one direction and it’s pointed at my mouth. My keyboard is a Microsoft Sculpt Ergonomic Keyboard https://www.amazon.com/gp/product/B00CYX26BC/ref=ppx_yo_dt_b_asin_title_o01__o00_s00?ie=UTF8&psc=1
the keys have a soft touch/feel when you press them. But they perform like an old-fashioned keyboard in that when you press them, there’s a specific amount of pressure you must apply to depress them. Then the key bottoms out and stays there, until you release pressure. Then it springs back up upon release.
This type of keyboard is noisier than some. Quieter than most gaming keyboards, but not quiet by any stretch of the imagination.
Getting back to the subject at hand. My microphone doesn’t pick up my typing. Not to any degree that I have noticed.
I decided to run a test this morning.
I ran five or six tests of 20 seconds in duration or so. I did not speak and only typed on my keyboard. I typed normally and played back the recording. I never heard myself typing while typing normally.
Then I tried typing faster than I am capable of typing. Typing gibberish and pressing the keys harder than I normally would. Once again, the microphone did not pick up the sound of my typing.
Then, I was pretty much abusing my keyboard and probably shouldn’t have even been doing it. Pounding the keys way more than anyone should. Well, the microphone did pick up that sound. It wasn’t extremely loud. But it was definitely there.
I’ve used this microphone in a room with a window air conditioner to my left and it doesn’t pick up the sound of the air conditioner and yet it picks up the sound of my voice just fine. The microphone is positioned on my left side 180 degrees away from the window air conditioner. I’ve always been blown away/impressed by the noise canceling capabilities of this microphone.
but here’s the bottom line, any sound that reaches the microphone. The microphone can pick it up.
So by hook or crook, you have to find a way around that.
The image below should give you some perspective on my set up and how the microphone works for me. I went and grabbed a tape measure just now. When I’m using it, it is only 18 inches away from the keyboard when I’m using it.
I’m sure plenty of laptop users have some ideas of their own, that may be better than mine.
Now I use a headset with a small boom mic and I swing the mic either under my chin (louder) or above my glasses (softer). No keyboard, no fan noise.