When someone lies to you, and both parties are aware that the lie is being told and detected, this situation is often referred to as a "double bluff" or "mutual knowledge deception." In this scenario, the liar is attempting to deceive, but the person being lied to is not fooled and knows the truth. The liar, in turn, is aware that their lie is transparent and that the other person can see through it.
This kind of situation can sometimes occur in playful or strategic contexts, such as in certain games, negotiations, or interpersonal interactions. It can also be depicted in literature, movies, or TV shows as a plot device to create tension or humor. However, in everyday life, this type of complex deception is less common, as most people would try to maintain their credibility and avoid getting caught in such a situation.