Would you write differently if someone was peeking over your shoulder?
Would you write differently if in that same situation you were handwriting on an index card rather than a screen?
The environment and audience matter. So do the tools. Together, they influence the freedom of thought.
But with enough practice any condition moves into the background. Self-consciousness fades. All that remains is self-expression.