Question: when are lying in bed?
Answer: When you use "in" ,it means inside something so "Lie in bed" means lying in bed under something of the bed and that something might be the blanket you have covered yourself in. And when you say lie on bed it means that just lie above the bed without covering yourself in something.