Let $G$ be a finite, non-trivial group and let $K$ be a compact Lie group such that each subgroup of $G\times K$ is of the form $H\times L$ for some subgroups $H\subset G$ and $L\subset K$. Is it true that then $K$ is also finite?
I tried in vain to find a counterexample, and I guess that the claim is true, but I do not know how to prove it. The answers to the question When must the subgroup of a product be the product of subgroups? come quite close to my problem, but I am not sure how to use them to prove the above statement.