No-one is entirely sure. Getting out on foot is likely to be needed; some people have found letting a guard scan them helps, though whether that's actually a requirement or it just means they're hanging around more of the base for longer and the condition gets met some other way, hard to say. Others have found making sure the bases are different types "helps", which again may just be superstition.
If you aren't in any hurry, open a Support ticket saying that you have visited five but don't have the unlock - they'll sort it for you, but of course it'll take a few days for them to get to the ticket.