。
She lay in bed with her eyes open.
Literal
She [topic-は] eyes [object-を] opened bed [on-に] was-lying.
~たまま maintains a state — 目を開けたまま means 'with eyes remaining open.' 横になっていた describes lying in bed. The まま construction creates an image of someone lying awake, unable or unwilling to close their eyes.