Lawmakers are considering a bill that would apply hefty punishment for students who assault teachers in classrooms or put other students in harm’s way.