President Biden said he and Germany’s chancellor, Olaf Scholz, would work in “lock step” to provide military support to Ukraine.