The degree of freedom one has is proportional to the degree of self-awareness one has attained.
If you are unaware of yourself and unconscious of your behavior and thoughts, your freedom is limited by your childhood experiences, societal conditioning, and other social influences. The perceived freedom one can attain in this state of mind is limited and unfree by definition.
Only by becoming conscious and self-aware of automatic behaviors, responses, and desires are you able to break through that limit and reach real freedom.
Freedom correlates proportionally to self-awareness.