I have the berdock version on my mobile phone, and now i wanted to know if i can get the bedrock for free on the computer because i already "own" the version.
if that works somehow, can someone tell me how?
No, because you have the Pocket Edition on your mobile phone and the version on your PC is Windows 10 Edition. However, you can use Android emulators such as bluestacks to use Android on your PC and then download MCPE from the GooglePlay Store.
No, Minecraft on the mobile phone costs 6.99 euro, they'd be kind of stupid if they gave the PC version for free.
(If you still want to play Minecraft on a PC, then I would recommend Java for playing on servers and in a single player. If you want to play with friends, take the Bedrock.)
Unfortunately that doesn't work… Minecraft Bedrock Edition costs 8 euro or so on the mobile phone and Minecraft costs 22 euro for the Java Edition on the PC… You can't play both on the other platforms