Create a bootable USB with a version of OS X like Lion or Mountain Lion. Boot from USB: Hold the Option key during startup.
Modern UEFI stores passwords in non-volatile SPI flash (part of the BIOS firmware region) or a separate security chip (Nuvoton, Infineon). Draining CMOS only resets RTC time, not the password. remove efi passcode lock