The mother laid the baby on the bed.

Literal

Mother [topic-は] baby [object-を] bed [on-に] laid-sideways

横にする = 'to lay down' (transitive). Its intransitive pair is 横になる (to lie down oneself). に marks the destination.