You shouldn't have any problem getting into other lounges besides the BA one.
However, I recommend that you check the flight times of CX out of FRA. It is likely that when they don't have any flights, their lounge will not be open. Thus I assume that you will have to use the BA lounge anyway.