This question already has an answer here:
I'm planning to buy a ticket from lufthansa. The first leg is operated by United Airlines and the second leg is a normal Lufthansa flight. I'm buying it from Lufthansa. Do I need to claim my luggage and check in again in Frankfurt (my connection airport)?