The School is wrong for losing the child.
BUT why did it take so long for dad to get to school? Why wasn't someone there to pick her up at the end of class, and notice she wasn't with her friends?
If the school was completely empty and locked up, it's not like he was there 10 minutes late. She was locked inside 3 hours!