Automatic train protection
Automatic train protection (ATP) is the generic term for train protection systems that continually check that the speed of a train is compatible with the permitted speed allowed by signalling, including automatic stop at certain signal aspects. If it is not, ATP activates an emergency brake to stop the train.
Source: Wikipedia — Automatic train protection (CC BY-SA 4.0)