School installs door alarms after child walks out unnoticed