At the University level people generally can (and do) leave lectures. Leaving may not be the academically smart move, but it's allowed. Few places have mandatory attendance policies.
Beyond that... this "triggered" situation is getting a bit ridiculous. My University hasn't succumbed to the nonsense. Not yet anyways. It may, eventually, become inevitable, at which point I'll have to resign my position and focus solely on blasting my quads.