Modern Warfare 2 crossplay can’t be disabled on Xbox and PC versions | VGC
But PlayStation does offer disable option; Xbox can turn off crossplay at system level…
www.videogameschronicle.com
PS has a flag to disable Cross-play.
It should be an optin (Cross-play disabled by default and so these that want to play with their "friends" optin) to be fair but that is a lose case already.