My games keeps freezing

during gameplay, not cutscenes, my game keeps freezing where i cannot play at all, but only when i start moving or press anything, on the first zipline mission it is just frozen if i press w or s, but if i move my mouse around without anything else, it is ok, how can i fix? i also checked to see if my ram was set ok and it says VRAM is 4GB so i dont know if there is a problem with that, please help!