What sort of laptop/desktop do you have? I regularly use my AirPods with my Steam Deck and they work great!
Once paired, AirPods just work like any other bluetooth headphones.
I was asking about multi-device connectivity, which is a slightly more advanced feature that lots of other earbuds can do in a cross-platform way.