On the Topic of Free-will, Surely in a scientific world must not exist!

The definition of free will is according to Wikipedia "the ability of agents to make choices unconstrained by certain factors"[1]. Viewing the human mind as a machine can make one think about it as a deterministic pile of switches or levers, like the cranks of an engine, with no leeway for multiple choices. But I believe that view is wrong and I am going to show that there is a way to observe free will in the human mind and at the same time consider it to be a machine of sorts. For the purpose of the argument let us consider a situation where a person is attacked by a thief. In this constructed situation let us have the item targeted by the thief be relatively unimportant, we have a victim that is skilled in combat and that will subdue the attacker and call the police and we also have all this happening in a park with a lot of small children. Waiting for the police there is an opportunity to engage in conversation with the subdued perpetrator. One can then examine how that conversation might play itself out and how free will can be observed in such a conversation. The external constraint of having children around that I have mentioned would make many people that would find themselves in such a hypothetical situation feel like they should converse with the thief in a specific way. The conversation might play out in a way that the person will try to make the thief feel ashamed of the bad thing that he has done. In contrast the same person might ignore the presence of children and start to gloat in his fighting prowess and try to strike fear in the heart of the thief while at the same time making the already startled children in the park feel even worse. Therefore there is an external constraint on the person and at the same time no huge penalty for not acknowledging that constraint and behaving like it was not there in the first place, that is the children or their parents are not going to bother someone that has just subdued a thief. Therefore we have an agent as the person in our hypothetical situation and we also have a factor that might influence that person's behavior. But the way that person will choose to act is generated entirely in the mind of that person in a way that corresponds to the definition of free will. One can argue that all this choosing of one way to behave in the real world among many is not a manifestation of free will. That the machine of the human mind knows the possibilities in a situation from past experience and generated them and then bumps the ones that seem better on top based on pro and con arguments that are subconscious to the mind and then finally gives the conscious mind the idea that it should be trying to shame the thief regarding his actions because there are children around or the idea that it should strike fire even though that would startle the children even more. But that is not determinism as opposed to free will simply because the actions of the agent and the constraints of that actions are defined outside of that agent. We need not worry with the internal structure of the agent that is capable of understanding new situations and reacting to them, even when there are some scientific views of the internal structure of the human mind that make the analyzing of it's behavior in many ways to seem deterministic. This is all very similar to physics experiments where sometimes a new experiment comes and contradicts the existing knowledge about the laws of physics. In that case you do not fix the experiment to conform to the laws of physics, but you do change the definition of the laws of physics to conform to the experiment. Likewise for the human mind viewed as a physical machine in a scientific context. There is no need to throw away the concept of free will when the mind acts in a way that may appear to be in many ways deterministic. You just go ahead and apply the existing definition of free will to the person that possesses the mind in question and you find out that all the basic requirements are satisfied. [1] https://en.wikipedia.org...