Risks of socialization and psychological safety of the educational environment in schools