Is Our Knowledge Definite?
I think our intentions are in complete control of our Creator as well. You may know that there is a story in Quran in which it is mentioned that Khidr (A.S) killed a child Because He was going to do something wrong, So it means that Allah saved Him And Allah already knew that what He was going to choose according to his free will and thus Allah saved him from committing sin.