If you can't do the time, don't do the crime. Lying always has a kammic consequence. You may not understand the magnitude of that consequence, so any lie under any conditions is very risky behavior. The Buddha stressed repeatedly that lying has very serious kammic consequences. The Buddha did not lie to save lives, to tell jokes, or as a "teacheing tool". He never condoned lying in any form (that I know of), so why does one think they know better than the Buddha?
I lie. Unfortunately, I do. It happens. I slip up and out pops a little lie. Sometimes out of jest. Sometimes to avoid an uncomfortable situation. But let us at least be honest with ourselves that there will be a kammic consequence, the Buddha was very straightforward in his advice on lying, and it is an unwholesome activity that the wise do not perform.
Sotthī hontu nirantaraṃ - May you forever be well.