I would think there are certain situations where a person might be compelled to lie, such as if you have a security clearance, have signed an NDA, or are acting as an informant. That is, a person may have to lie to prevent divulging classified or secret information through implication.
EDIT: One situation where the government cannot compel you to lie is if it violates your fifth amendment rights (self incrimination).