How can I install windows 10 on my old 2011 iMac

Solution 1:

Install a version of Windows compatible with your version of Boot Camp. Then upgrade that to Windows 10.

You will most likely have problems with your Apple hardware because the drivers come in through Boot Camp. This may be fixable by extracting them from an newer distribution of Boot Camp. I suggest you open a new question when you get there.