To unlock the golden frame you must ace all the tracks in the Expert, Master and Pro Career division.
For more info on what it means to "ace" a track please see this FAQ: https://turborilla.happyfox.com/staff/kb/article/19-what-does-it-mean-to-ace-a-track-what-is-an-ace/