Most operating systems also provide auditory feedback (a beep) and visual feedback (an icon in the system tray) to indicate when a modifier key has been locked.
Sticky Keys is a Windows (and macOS) accessibility feature designed for people who have difficulty pressing two or more keys at the same time.