It means to think seriously about something, especially a solution to a problem.
a) Jenna needs some interesting suggestions for the party so if you can put your thinking cap on she’d be grateful.
b) We’ve got to put our thinking caps on for the next game.
c) You and Moana can’t write something without putting on your thinking caps.
Learn English the Right way!