When a part of someone's body is resting on another person.
For situations someone is lying flat or taking a prone position on another person, use lying on person.