How to map a program to a PLC if the programs are locked?
The programs to be mapped are locked, because you are in a derived profile.
In the figure there is a derived profile named "dev“. Double click the „Profile“ to move to the root profile and unlock the programs for mapping..
To add a program, double click the mapped programs cell and select the programs to be mapped to a task.
In the left pane there are all programs available in a Solution, while the right pane contains programs which are already executed in the task. Clock OK to confirm changes. To save all changes to project, click the OK button in the red dialog.
Remember to switch back to the derived profile and upload the Solution to PLC to activate all changes.