Well if it is iCloud locked it sounds like it was stolen or maybe you bought it not knowing it was stolen, but now you do and helping you would be immoral/unethical. However, if you are the original owner of the computer you should be able to logon with your apple id on the apple store and print out an invoice to prove the purchase.

@mayer - I think the seller (or the true owner) just used the lock function within Find My Phone/Mac app from a mated iOS device or OS-X/macOS device (iPhone or iPad). With the newer firmware downloaded onto the system this is now possible, But its also possible the system has just a hardware lock (EFI) enabled and it popped when he tried to do a clean install. Go to this web site to check: iCloud Verification

With Mavericks and newer OS-X/macOS's you need the users logon password if you want to access the drive in Target Mode or via an external case when your user account is different so it other accounts key can be added into your keychain. That is if you want access to the files on the drive if it's Mac OS Extended (Journaled) volume and the permissions mask is set to limit access.

If it has the EFI password definitely it has icloud lock. Is the EFI chip that needs to be desoldered, reprogrammed and resoldered. I dont think so it will work with any other chip without to be programmed for your board. Is not an easy operation and i dont think so it is leagal too.

While Apple is transitioning OS-X used in MacBook's & iMac's to be more like iPhone's & iPad's iOS, its still a few years away at best to unitize hardware locking fully within Mac's like how iOS devices use iCloud.

Of course they are not the same. I did a computer this way and i know to make the difference, belive me. He said in his first post that it was icloud locked and when he tried to do the wipe and install asked for EFI password. 99% of the Apple computers i saw and they had the EFI password seted up, had icloud too. I know you can set them up separately and they are two different things.

It says very loud and clear that when it turns the mac on it has the icloud lock, you don't have to be a genius to know that when it requires a 4 digit pin is locked through icloud.

The second thing he said it was when he tries to boot from another drive asks for a password which is EFI locked "white screen with a padlock".

What I was saying is that everybody that know to set up the EFI password definitely has iCloud option Find My Mac on.

My mistake I used iCloud locked instead of iCloud FMM option. Unfortunately, the Apple website can not be used for Macs, you can check if the activation lock is on and as far as I know Macs don't have activation lock, you can lock it remotely with that 4 or 6 digit pin.

Next time just add a comment and put a statement you concur with the posting in the answer. If it was well written and correct give the person a bump in is rep score so the better answer goes to the top.

Resources

Repairability

Stay in the loop

It's time to speak out for your right to repair

We have a chance to guarantee our right to repair electronic
equipment—like smartphones, computers, and even farm equipment. This is a once-in-a-generation
chance to protect local repair jobs—the corner mom-and-pop repair shops that
keep getting squeezed out by manufacturers.

Join the cause and tell your state representative to support Right to Repair. Tell them you believe repair should be fair, affordable, and accessible. Stand up for your right to repair!