Lock issuables

Closed Jarka Kadlecova requested to merge 18608-lock-issues into master

What does this MR do?

It supports locking issues and merge requests. If an issue/an MR is locked only team members can create new notes or edit the old ones. The users who are not team members can't add new comments or edit the old ones.

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

Why was this MR needed?

requested more than a year ago

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #18608 (closed)

Edited by Luke "Jared" Bennett