Socialization is the process by which individuals are taught what society expects of them and how they are supposed to behave in society. The educational system is one place where this happens.
The things that you are asking about in this question (power, control, ethics, and deviance) all have to do to some extent with authority and conformity. School is one of the main places where we learn about what is expected of us with regard to authority that is not part of our family. The way that our schools are run, and our reactions to that, helps to shape our attitudes towards authority.
For example, let us say that you attend a school with a really strict culture. You are constantly getting in trouble and you are told (whether explicitly or not) that you are deviant. This may affect your attitudes towards power, control, and deviance. You may come to feel that those in power are simply using their power to control you for their own ends. You may reject their ideas about deviance and what is deviant.
Thus, our educational system can help to shape our attitudes towards things like conforming with the demands of authority.