Introduces a workflow to automatically lock pull requests when they are closed, using the github-script action. This helps prevent further discussion on resolved or closed PRs.