What ways are there to hire freelancers for code, without them "owning" the code on their pc? And how likely is it with paid freelancers, that the game wont get to the release?

You could always learn how to make something yourself and save roughly $50k an year and the legal headaches of hiring people.

But realistically speaking, it gets easier if you made an working prototype that’s easily editable.