As a Joke
Many times individuals lie to tell jokes. Does that make it a good thing? Maybe not, but I guess it will depend on the person. If it is perhaps Halloween, and a group of kids are planning a scare, one of them might lie to get an individual trapped into their prank. Even in simple sarcastic conversations one may tell a lie, but was only being sarcastic with actually no intention of harming or deceiving the person. In either case, this form of lying, as a joke, is one of the reasons why people lie.
A lie is any attempt whether verbal or non verbal to conceal the truth from people who desire to or are entitled to know about it. It could either be a noble act or a shameful act it all depends on the motive for lying and the outcome such lies have on those it affects.