Locked in dark room by teacher, six-year-old dies