It’s nice that you are trying to avoid harming other creatures.
When working outdoors during mosquito season, I use a fan when possible.
Mosquitos struggle to fly in the breeze, but some will still get to you on the side opposite the fan.
I have not tried this ‘fan trap’ method, but perhaps it will be helpful to you:
BTW, if you aren’t already familiar with NightHawkInLight on YouTube, check out his other videos too.
He got the ‘fan trap’ idea from another YouTuber named Dan Rojas. He leaves the trapped mosquitos out for other creatures to eat!