A court has been told of a woman’s horror act after a mum left her sleeping baby in a car parked inside her office car park for just moments.