I have heard about experiments related to free-will wherein the brain already made a decision even before the conscious mind became aware of it.
You are thinking of Libet's famous experiments.
https://www.wikipedia.org/wiki/Benjamin_Libet#Implications_o...