I tried to track down the specifics of when it happens and when it doesn't happen, but didn't have any luck.
I created a party as locked, and multiple people on my friend's list were able to join. The option to join remained until depth 3, where it disappeared and no on was able to join without an invitation.
When we got to depth 4 (the terminal), friends were once again able to join.
I spoke with another friend who had a party I couldn't join, and he was the party leader and had the same settings as I did (lock party, no checks on allow friends or guild)
In conclusion, I don't know. I submitted a bug, and will continue to do so when it happens and hopefully the data they need will show up.