A software license is a form of contract that individuals are free to accept or not. If you disagree with the contract, you are free not to use the software.
Here's another analogy. If I build a restaurant and want it to be non-smoking, I'm not restricting your freedom. You are free not to come to my restaurant.
Here's another analogy. If I build a restaurant and want it to be non-smoking, I'm not restricting your freedom. You are free not to come to my restaurant.