I have new update onto how this bug comes into existence.
- Go to the Features, Themes, Languages
- Create a new feature by giving it a name, choose Type: package and select a package that users are using. Then Select "Mark All" and save.
- Login into user panel and try to click on the "lock" button. It's now bugged.
The above steps were done on my test server and CWP demo server. Both had the lock button working and then broke after configuring the "Features".
I could not find a way to remove this bug. I tried to remove the Feature Packages and it didn't help.
Edit:
Small new info: Deleting the Feature Package and wait for around 10-15 minutes (cache?) and then try to check on the button again, it will work again. Tested on demo panel.