Ah, thank you for clarifying your question.
Well, surprisingly, this Yanfly script has a big bug. I looked closely at the lock_actor(x) and it didn't work at all. I searched and you can find a fix for it, partially,
here on the boards. This won't completely help you, though.
Unfortunately, the Yanfly Party System doesn't allow you to apply the lock_actor script on any actor that is NOT in the current party. You can't apply a lock to a reserved party actor, as far as I can see. You can do it and the yellow star will show up on their graphic, but it doesn't do anything. If anyone can suggest any fix, that would be great.
To answer your question about the battle party, for changing the number of party members in battle to be two, go to your Party System script and to about line 98. Set MAX_MEMBERS_VARIABLE = 99 (just using 99 as an example, it can be any control variable greater than 0 that you wish). This is the in-game variable ID that the Party System uses for determining a change to the maximum number of members in your active battle party. It is not the determining number itself. Then, go ahead in your project and set
Control Variables: [0099] = 2.
Also, you can use the require_actor(1) and require_actor(2) script calls to keep the first two actors inside of your party. Actor 3 or 4 will not be able to switch into battle, either, with the add-on Command Party. Ironically, your active battle party will be made greyed out, instead. This won't work well with larger parties or special conditions and circumstances. I think, though, this is the best that Yanfly Party System can do, unless someone transferred the KGC Large Party script from VX or until someone writes a workaround. Hope this helps, anyhow.