Overriding is the ability to control machines. While an overridden machine cannot be commanded per se, overriding turns a machine from its default state of hostility toward any human to a state of combat friendliness toward the human who overrode it, in that instead of attacking the overrider, it will attack other machines or humans that attack the overrider.
The Nora Brave Aloy gained the ability to override machines after defeating the Corruptor that attacked Mother's Heart in the aftermath of the Proving Massacre. Upon examining its chassis, she discovered the component that Corruptors used to slave the CPUs of other machines. She attached the component to her spear and began to use it to override machines. At first, she was only able to override the weakest machines: Watchers, Striders, Broadheads and Chargers. However, after and downloading override codes from successive Cauldrons into the component, she gained the ability to override successively stronger and more dangerous ones, culminating in the strongest and most dangerous machines: Thunderjaws, Stormbirds, Behemoths, and Rockbreakers.
The wandering researcher Sylens learned about the override ability by watching Aloy through her Focus. Presumably, he was able to advance the skill to actually being able to command machines, as he was able to bring three overridden Ravagers with him to aid in his rescue of Aloy from the Eclipse leader Helis after he captured her.
It appears that overriden machines are immune to corruption, since the two Corruptors that Helis had commanded to kill Aloy were helpless to stop the three Ravagers from attacking and destroying them; they would doubtless have corrupted the Ravagers and had them help to pursue the escaping Aloy and Sylens if they could have done so. The implied immunity of overriden machines to corruption is logical given the use of the Corruptors' own slaving technology in the overriding process; the Corruptors would have been essentially slaving CPUs that were already slaved by their own technology, which is impossible. Likewise, Corrupted machines cannot be overridden for the same reason: it is not possible for the slaving technology to be used against itself.
The ability cannot be used on an attacking machine, nor can it be used on corrupted machines. In order to be successfully used, the machine must be either unaware of the overrider's presence or physically restrained, e.g. by Ropecaster lines. Furthermore, damaging the overridden machine above a certain threshold will revert it to its default hostile state.
During the main quest The Mountain That Fell, Aloy will discover the master override in GAIA Prime, which is essential in defeating HADES as it can purge the Extinction Protocol. The Master Override is then fitted near the blade of Sylens' Lance.