The answer given here was just "what?" — which is a fair reaction, because the question is missing something. It does not say which Battlefront game is meant, and the two original games handle unlocks very differently.
If you can say which title your friend is playing and what exactly they did on screen, the actual method is usually straightforward to work out.