The mind isn't a computer and conditioning, influences, etc., don't prevent free will as it is generally understood (or at least the generally understand components necessary for free will to be said to exist).
Well luckily I've been addressing this nonsense for a while:
“To understand why neurons and computers are fundamentally different, we must bear in mind that modern computers are algorithmic, whereas the brain and neurons are not.”
Tse, P. (2013). The Neural Basis of Free Will: Criterial causation. MIT Press.
“no formal system is able to generate anything even remotely mind-like. The asymmetry between the brain and the computer is complete, all comparisons are flawed, and the idea of a computer-generated consciousness is nonsense.”
Torey, Z. (2009). The crucible of consciousness: An integrated theory of mind and brain. Cambridge: MIT press.
“The free will theorem supports a powerful challenge to the scientific credentials of determinism, by showing, on certain well-supported assumptions, that two cornerstones of contemporary science, namely (1) acceptance of the scientific method as a reliable way of finding out about the world, and (2) relativity theory’s exclusion of faster-than-light transmission of information, taken together, conflict with determinism in both its versions. Belief in determinism may thus come to be seen as notably unscientific.”
Hodgson, D. (2012). Rationality + Consciousness = Free Will (Philosophy of Mind). Oxford University Press.
“there is no evidence for a computer program consisting of effective procedures that would control a brain’s input, output, and behavior. Artificial intelligence doesn’t work in real brains. There is no logic and no precise clock governing the outputs of our brains no matter how regular they may appear.”
Edelman, G. M. (2006). Second nature: Brain science and human knowledge. Yale University Press.
"First, it is widely accepted that the ‘‘atoms’’ (in the philosophical sense) do not behave deterministically. Second, it is becoming more and more widely recognized that complex dynamical systems can exhibit new sorts of causal capacities not found at the level of their constituents. We have emphasized, among these, sentience, goal seeking, consciousness, acting for a reason, and self-evaluation. Third, we have argued that higher-level systems exert downward effects on their constituents via selection among possibilities generated randomly, probabilistically, or according to deterministic lower-level laws.”
Murphy, N., Brown, W.S (2007). Did My Neurons Make Me Do It?: Philosophical and Neurobiological Perspectives on Moral Responsibility and Free Will. Oxford University Press.
"No computer program, no matter how cleverly designed, has an entailment structure like a mind, or even a prion.”
Kercel, S. W. (2003, June). Softer than soft computing. In Soft Computing in Industrial Applications, 2003. SMCia/03. Proceedings of the 2003 IEEE International Workshop on (pp. 27-32). IEEE.
"For 50 years, computer scientists have been trying to make computers intelligent while mostly ignoring the one thing that is intelligent: the human brain. Even so-called neural network programming techniques take as their starting point a highly simplistic view of how the brain operates.”
Hawkins, J. (2007). Why Can't a Computer be more Like a Brain?. Spectrum, IEEE, 44(4), 21-26.
“The brain is not a computer, nor is the world an unambiguous piece of tape defining an effective procedure and constituting “symbolic information.” Such a selectional brain system is endlessly more responsive and plastic than a coded system.”
Edelman, G. M. (1999). Building a Picture of the Brain. Annals of the New York Academy of Sciences, 882(1), 68-89.