A police officer is being praised for protecting a newborn from dogs in the port city on early Tuesday.