mettre son drapeau dans sa poche

Etymology
lit. 'to put one's flag in one's pocket'.

Verb

 * 1)  to conceal one's true feelings, to hide what one really thinks, not to reveal one's true convictions or allegiances