Well, your connection in BKK is 16 hours, so they won't check baggage on to your destination, BKK will be your stop. You will not be able to use a lounge when you arrive in BKK. When you depart, you are leaving on an LH flight. You may have use of Thai's FC lounge, but not the SPA.