The iMac computer was sold to me in full working order. The seller, who originally purchased the computer from Currys, started to reset the computer to factory settings shortly after I arrived to pick it up. At some point during the procedure a message indicating a lengthy period of time left to complete the reset appeared on the screen. At that point, the gentleman said I could take it and complete the reset at home if I didn't want to wait. I elected to take it and complete the reset at home.
Upon reaching home I turned it on whilst holding down Command (⌘) and R simultaneously. All proceeded as expected and all went well for the next day or two. At some point, I was asked to sign in using my username and password.
Upon attempting to enter my username I noticed several keys on the keyboard weren't functioning, thus preventing me from signing in!!! After repeated attempts to sign in and failing to link another keyboard to the computer I decided to reset the computer to factory settings, but upon hitting the Command (⌘) and R buttons a locked padlock sign appeared on the screen. I eventually found out I needed the Firmware password, which I didn't have, to proceed.
I took the computer to an Apple Store in Liverpool, UK where an Apple Genius confirmed the only way to reset the computer was to obtain a key from Apple in London, and upon inserting the key into a USB port, it would be possible to restore the computer to factory settings and either bypass setting a password for the firmware lock, or if I chose, set a new one.
For that to happen I had to show some form of ID. I showed my driving licence and was told I could send in a copy of the sales receipt once the original owner had found it.
The original owner messaged me a photo of the original receipt and I've been trying for the past 4 days to find a way to send it to Apple in order for the repair to proceed.