If you had a previous version of Windows, the upgrading to Windows 10 was free.
Additionally, you can download Windows 10 and never activate it and all it will do is show a watermark indicating it is not activated.
You can always pay for Windows.
I think Windows 10 Pro is pay only.