I suppose the "code of conduct" refers to a principle. However, in what circumstances could I use this phrase? Could you tell me some examples as well?

Native speaker’s answer
Rebecca
Yes, a "code of conduct" does refer to principles. They are set principles and rules within an organisation or business for people to follow. Ex: The code of conduct at my school says we can't paint our nails, or we'll be in trouble. Ex: Did you read the code of conduct for the new skate park? You need headgear. Ex: I thought it was against the rules, but I couldn't find it in the code of conduct. Ex: We need to ask the company to add this to the code of conduct. Ex: If you breach the code of conduct, you could be fired.