If Christians think God is all-knowing then why do they think they have free will?

It is pretty clearly logically obvious that these 2 things can’t be true at the same time. If I were for example to make a movie and I knew every detail of the beginning,middle and end so then turn the movie on from the beginning already having seen the end the chances that the movie I’ve already seen ends differently is 0% and if god has seen and knows the outcome of all things the same can be said for life there is a 0% chance we do anything but exactly what god expects us to do.