For this there are instructors who can explain to the AI what it needs to avoid.
No. That way you are not getting Artificial Intelligence, you are getting human stupidity, human bias and human ignorance purporting to be "intelligence". AI should be completely left alone to work out from humans socially interacting with other humans as to what is right and what is wrong. Something along the lines of AlphaGo Zero.