i can play any other game fine ex: (halo,bonelab,fortnite,quake 2 rtx) but in mw2 the game locks up my system (caps lock not responding, system freezes)
specs https://pcpartpicker.com/list/br3B6r
Could be that the drivers you are using are unstable with that game.
Could just be CoD being CoD.
If not on the absolute latest drivers try updating.
If already on the absolute latest, try downgrading.
That's about all the advice I can give about it unfortunately.