A law that bans murder. There is no freedom to murder so it does not restrict any freedom.
And when people who want to kill people and have been free to kill people get told they are no longer allowed to, they have also been unhappy about it.
Like was this guy [1] right in what he did and his punishment was unfair?