Make registration to lock Runner to project real

Merged Tomasz Maczukin requested to merge make-registration-locked-real into master

This is a general Merge Request template. Consider to choose a template from the list above if it will match your case more.

What does this MR do?

Improves change added with !657 (merged).

Why was this MR needed?

With !657 (merged) we've pretended to make locked=true a default option of Runner's registration process. At this moment Runner should be - by default - locked to the Project if it was not explicitly specified. However, the MR haven't introduce the most important change :).

This MR adds that change.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

References #2615