Then you need something other than a golden retriever OR get yourself a good professional trainer. Or both.

Taking a breed that generally loves people and trying to get it to not like people is a difficult job..... and not reccomended for the type of dog you have.