Yanfly Party System Script - Lock Actor Not Working

I have a problem, in my game there are 3 main characters to choose from, but I cannot lock the other characters for some reason. the script call does not work.
1760596890458.png

I don't know what the script means by this.
1760596944673.png
Is the party menu command enabled? Yanfly's Party System script has a setting for enabling this menu to the main menu.
1760598643506.png
Yes, it is
Is the party menu command enabled? Yanfly's Party System script has a setting for enabling this menu to the main menu.
View attachment 351348
Ok, I got it working when I put the script fresh from the page.
I think because the script was used in a older project it had been messed with so it did not work.
But thanks for the help. 😀

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-party-system-script-lock-actor-not-working.180572/