We have this sign. It doesn’t stop everything, but it stops a lot of them. Video doorbell gets motion activated and sometimes I catch a chuckle after they read it.
When they ring anyway I literally say “you had the spoiler alert, why are we doing this?”