I bought a second hand 2010 GSV40 Aurion SX6 which had the factory head unit (the premium one, see photo, but might also work on the standard one) was locked saying "Please contact your dealer". Funny enough I found out a manual override for this by just pressing the mode button on the steering wheel which allowed me to use the head unit, but I digress. The only problem is that the head unit would lock itself every time I shut off the car. For me, this is very frustrating. Though a very small issue, I decided to investigate further.
Toyota aren't any help at all. They want me to pay them $70 so they can reset it. A procedure so easy to do yourself it literally takes 30 seconds. So I got my hands on some GSV40 literature and went digging further, but the only thing I found was that if you hold the buttons 1 and 6 together and simultaneously press DISC three times, you will get a diagnostics mode where you can look at DTC codes and get some useful information. However this was only a soft diagnostics mode. So I started trying to do other button combinations to see if I can get lucky, and lo and behold, I hit jackpot.
There are actually three "hidden" diagnostic modes that you are able to get into.
All three modes can navigated with the corresponding function buttons (the numbers), Seek (up and down) and Menu (to go back).
Holding 1 and 6 whilst pressing DISC three times gets you the soft diagnostics mode.
Holding 3 and 4 whilst pressing DISC three times gets you a screen and radio diagnostics mode.
Holding 2 and 5 whist pressing DISC three times gets you into a firmware diagnostics mode.
The firmware diagnostics mode is the one you want. Inside, you will find a option called "All Reset". This option will completely factory reset the head unit, removing any data stores including the security lock. In this mode you can also do firmware updates, version checks and all of that jazz.
I really hope that this helps someone here!
Cheers!
Igor