I love this topic & am a big fan of time-travel movies because they mess with your brain so much
Speaking in very simple language, however, free will exists because (1) everyone has individual agency (the ability to make choices in the moment), and (2) we cannot control time; we are simply passengers on the riverboat of time as it marches on. From a bigger perspective, sure, everything that has been, is, and will be is set in stone because the actions taken on a moment-by-moment basis will be transcribed upon the pages of history. However, that argument is negated because we cannot control time, therefore, the future is full of unlimited choices (and we also don't have access to a multi-verse, like in Jet Li's "The One", so the only thing we individually end up with is the consequences of the choices we make in the moment). In theory, if you knew all of the variables, you could control the outcome, but even then, it's not just about stuff like the Butterfly Effect - there's also the issue of predicting human behavior. If you were locked in a room with a criminally insane inmate, how would you know their thoughts? Would they ignore you, or would they kill you? You don't know, because they have their own agency as well. So it kind of boils down to (1) not being able to control or otherwise stop time, (2) not being able to calculate all of the variables of the impact of the elements (re: the butterfly effect), and (3) not being able to predict psychology based on other people's (and other sentient beings, such as animals) access to free agency. Omniscience is #2 & #3, and arguably #1 as well. Thus, free will isn't an illusion because you can't control everything & you certainly can't control other people, and you only have access to this universe & the time ahead of you as a unique individual.
A couple fun movies I've seen in recent years are Next (Nick Cage) and Limitless (both the movie with Bradley Cooper & the TV show, which is actually pretty fun). In Next, Nick Cage's character could see a few minutes into the future, which helps him make money, get out of bad situations, and in one case, go through hundreds of iterations of behavior until he finally gets a girl to notice him. So while he wasn't omniscient all at once, he could see the possibilities in front of him one by one & then choose which reality he wanted to go forward with. Limitless took a bit of different approach...Bradley Cooper's character took a pill, a drug similar to ADHD medicine, which basically gave him access to 100% of his brain. So he could not only remember but also process everything he had ever seen - every book he had skimmed through with glazed eyes, every documentary he had watched half-asleep, everything he had ever forgotten, as well as calculation all of the variables that were visible in front of him. The movie was fun, and the TV show took the concept even further with the new character (also on the pill) realizing that despite having a super-brain, he didn't have the ability to control everything & he wasn't invincible, so the best he can do is work out the best decision to solve problems with the information available to him.
It's a fun concept to think about, especially when you start tying in other real-life issues like taking responsibility for your actions & how much our individual ingrained habits guide our day-to-day lives.