1 Kings 20:35 By the word of the Lord one of the company of the prophets said to his companion, “Strike me with your weapon,” but he refused.
1 Kings 20:37-40 The prophet found another man and said, “Strike me, please.” So the man struck him and wounded him. 38 Then the prophet went and stood by the road waiting for the king. He disguised himself with his headband down over his eyes. 39 As the king passed by, the prophet called out to him, “Your servant went into the thick of the battle, and someone came to me with a captive and said, ‘Guard this man. If he is missing, it will be your life for his life, or you must pay a talent of silver.’ 40 While your servant was busy here and there, the man disappeared.”
God told the prophet what to do -- isn't God then making the prophet violate the commandment that though shall not lie?