You cannot train a dog to keep the peace.
Maybe not, but I trained mine to retrieve the newspaper from the end of the driveway.