A “barefaced lie” is one that is obvious and told straight out without flinching by someone who is either very stupid or very brave.
The phrase is interchangeable with a “bald-faced lie,” in reference to the sixteenth century when most men wore beards, sideburns, and mustaches.
Only the rebellious ones who shaved their faces bare were considered bold enough to tell an obvious lie.