There’s definitely some kind of vibe that Hogwarts doesn’t take the safety of the students seriously enough.
That's not part of any intended deeper message, the Wizarding World was just portrayed as a comically grim place and the wizards as kinda callous assholes early on
Then the series tried to develop some more serious drama and you were supposed to take the world more seriously
Yeah, sometimes there's this slightly edgy Tim Burton/Addams Family/etc permanent PG-13 Halloween mode going on, but then the wizards are also basically just Good Christians
That's not part of any intended deeper message, the Wizarding World was just portrayed as a comically grim place and the wizards as kinda callous assholes early on
Then the series tried to develop some more serious drama and you were supposed to take the world more seriously
I remember in the first or second book when the janitor complains he's not allowed to chain students to the ceiling as punishment anymore.
Yeah, sometimes there's this slightly edgy Tim Burton/Addams Family/etc permanent PG-13 Halloween mode going on, but then the wizards are also basically just Good Christians