Can I get boarding passes for all connecting flights on first check in?
AFAIK UA operates out of Terminal 1 at LHR for SFO flights, this is the same terminal LH uses. If you can't get your LH boarding pass from UA in SFO at the check-in counter you can get it at the transfer desk in LHR.