Selective (or elective) mutism

A rare childhood-onset disorder dominated by refusal to speak in certain social settings (e.g., in school, with peers), in spite of being able to speak in other situations. Often co-morbid with other neuropsychiatric disorders, including autism

. See Autism