Using Mid-2011 iMac as monitor for 2020 MacBook Pro
I'm wanting to use my Mid-2011 iMac monitor for my 2020 MacBook Pro. I purchased a Thunderbolt 2 cable plus adapter so my iMac is connected to my MacBook Pro but in spite of following all the steps listed in this link https://applerepairstation.co.uk/Technical%20Desk/use-your-imac-as-a-display-with-target-display-mode/ Command-F2 does not switch the iMac to target display mode. iMac is on macOS High Sierra 10.13.6, MacBook Pro is on Catalina 10.15.6. I'm using a Apple keyboard on the iMac.
Recommendations for next steps??
iMac 21.5″, macOS 10.13