I've been teaching my nephew how to code using Scratch. He told me that they blocked Scratch at school because some of the kids were using it to play games during school. Kind of a shame, because it is a great way for kids to learn how to code.
Similarly, my attempt to get my son started on simple HTML was stranded by his school disabling the "developer view" in Chrome. I suspect the simple reason is that seeing the source allowed you to cheat on some of the educational websites the teachers use for assignments.
So we made a Javascript one-liner that would retrieve and fill in the answers.
The first edition also submitted them but the teacher could see how fast you completed a test so we removed that as students who normally could not pass the test suddenly had 100% and in 5 seconds of time.
In the end, manually removing, answering some answers wrong and waiting to submit made that class a breeze.
Too bad my French is now very bad but that wasn't something youth-me thought of at the time.