keep something under your hat
From Longman Dictionary of Contemporary Englishkeep something under your hatkeep something under your hatinformalSECRET to keep something secret → hatExamples from the Corpuskeep something under your hat• Rather than wear your heart on your sleeve, you keep it under your hat.