Loosen the three Phillips screws securing the rear panel to the iMac.
These screws are captive in the iMac. The center screw will stop turning after about 3.5 turns and the outer screws will stop turning after about 5.5 turns. Do not try to remove these screws from your iMac.