Password forgotten for macbook air for the tool from icloud that can do a search and lock up computer if it's lost or stolen. Can data be recovered?

Someone did an override on the password and now its asking for installation of the operating system