Some are internet enabled so you can monitor remotely.
Moen Flo is one example. It's smart so it should detect the leak and shut the water off but it's also controllable from an app or Alexa, etc. It also has remote leak detectors that you can put in strategic places like in your sink cabinets, below the dishwasher, etc. so if any of those detect water it will shut it off. There are a half dozen companies doing the same thing.
You'll have to ask your homeowners insurance company what models they support and will provide a discount for.