Filament runout protection only protects against the filament running out.. There are other situations that create jams and clogs tha will also cause a 3D print to fail. The Bigtreetech smart filament sensor is capable of detecting these problems and saving your prints.
This video is a guide on how to set the sensor up to work flawlessly with Marlin and the factory LCD controller. It also covers how it should work with Octoprint and the BTT TFT touch screens once updates are available.