That sounds an awful lot like its the setup for some authoritarian talking point. The whole point of restricting freedom within a society is so that the total amount of freedom is increased. For instance ur freedom to murder people is being restricted because killing someone denies that person of their own freedom to live. Ur night out murdering is less units of freedom than an entire lifetime of freewill.
The only possible way to interpret the lecturers statement that is logically congruent is to claim that your freedoms are being restricted so that your safety can be increased by reducing the risk you pose to yourself. Its literally you being told that someone else will be making your decisions on your behalf because your too dumb to decide for yourself. Pure authoritarian bootlicking.
Its the same argument used by extremists to deny women's rights to get an abortion.