They are quite similar. was lying gives the impression that you are setting up the background of some other event that took place. It gives the impression of simultaneous or somewhat simultaneous activities or events.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.