Quran 6:111 – Free Will In Iman
The ayah is talking about both, free will and Allah’s power The first part elaborates the stubbornness of people that even after seeing the unseen world, the angels, and conquering death, dead coming back to life. They will use their free will to decide not to believe The second part mentions that Allah is all powerful and if, He wills (Yasha Allah) He can make non believers submit to His authority
Had Allah willed, he would have created compliance robots but those would be no good for the task man is supposed to do on Earth and that’s to excel in good work by freewill and fair means. That’s why despite God being Omnipotent, he only guides people to the right path through reasoning and does not use his powers to take away free will or the resources on man’s disposal.