Your computer is disabled. Try again in 60 minutes I need to factory reset a MackBook Pro.
Every time I start it up it takes ages to load and then I see this:
Your computer is disabled. Try again in 60 minutes.

I tried to restart the Mac with CMD + R but it won't boot in repair mode.
Any alternative command?
Efter dyas of works I found the solution here.

Here are the steps to fix the problem:


Go here and download the A USB flash drive image file
Unzip the file 
Insert a USB stick into your Mac or Linux
On a terminal run diskutil list and find your USB key (for me was /dev/disk2)
Run diskutil unmountDisk /dev/disk2
Run dd if=refind-flashdrive-0.11.4.img of=/dev/disk2 and in 1 minute you will have the rEFInd Boot Manager on your USB stick 
On another USB stick put MacOS Mojave following this guide.
Now insert both USB Sticks on your Mac, fire it up and keep the button Option pressed down
Now you will see 3 things: Your Mac HD (in my case was formatted), Mac Mojave USB installer and the rEFInd Boot Manager. Click on the rEFInd Boot Manager.





Choose the Gparted button and follow this guide step by step in order to create a GPT Partition Table with gdisk in EFI Mode





Now if you are back in the rEFInd Boot Manager is time to move the cursor to the Mac Mojave installation, press Tab or F2 and choose the option "Boot macOS in single user mode"
A terminal will open and you need to enter these commands in succession: 

nvram -c

nvram -xp

nvram -c

nvram -c

nvram -c

nvram -c

nvram -xp


Yes you need to clear the nvram several times in a row! (nvram -xp just lists what is in nvram) Then type in exit and wait. 



The laptop should continue booting in that command window until it switches over to the GUI window and you end up at the general OS Installer window.