The barking thing is ofc high with guard dogs and shepperd dogs. Retrievers don't have that so much. A Labrador or a Goldie isn't a good protector tho. A hunting dog could do that but they can be extremely difficult to handle for a novice as can be guard or shepperd dogs.
Protecting humans is big with German shepperds or kangals
Neither are suited for beginners. Husky is totally out of the game. They need groups and outdoor holding. They need hours of runs a day.
Also there is a lot of variety in the dogs themselves.
In a bread of 6 you will have 2 dogs who are being shy, cautious to the point of afraid and 2 who are the opposite always going to the ruckus. For a beginner neither are suited.
Also to me it seems you don't want a dog , you want a pepper spray or a gun.
Dog people need to tend to their dogs. Train them and generally invest time.
Like for example it's 5:30 am where I am. My dog just needed to go outside because he isn't feeling well (threw up outside to

)
I think Goldie would be a good option IF you are sure u want to become dog people. However they don't make great guardians. Also they are very exited. You need to be decisive and a little bit strict too. They need a strong character to orient themselves to. But most of dogs do.
Meaning for example if you know they won't be sitting you don't tell them to. If you tell them to stop you expect them to.