I would argue both free will and determinism are flawed concepts.
What is our will supposed to be free of? Cause? Wouldn’t it then be equally free of effect and isn’t effect the whole premise of will?
The problem with determinism, that fixed laws determine the outcome throughout history, overlooks an essential conceptual fallacy prevalent to our mental function and culture. As mobile beings, we perceive reality of flashes of cognition, then build civilizations out of the collective knowledge acquired by narrating our journeys to one another. So our sense of reality emerges from this flow of time, from past to future. Which even physics codifies as measures of duration.
The evident reality though, is that action turns future to past. Potential, actual, residual. Tomorrow becomes yesterday, because the earth turns.
So there is only this physical state we refer to as the present and that is why it is so omnipresent. Duration is this state, as the events come and go.
So the process of computation, that does the determining, only occurs within this state. No matter how fixed the laws might be, if the input into any event cannot be known, prior to that event, much of it traveling at the speed of light, then the output cannot be known either. Events have to occur, in order to be determined.
Now, yes, our subconscious impulses often precede our conscious consideration, but we evolved to survive and much of what occurs, does so considerably faster than we can intellectually process it, so the executive function of consideration is not so much geared to our direct actions, as to process the information acquired, in order that our future actions are better informed.
Nature is, as Darwin explained, a process of selection and our will is our input into that process.