I’m not too sure that I understand your concern. The option to ‘lock publishing’ is managed within the UI:
If you’re looking to build your site and not deploy, you can use Deploy Previews with your PRs to ensure that your site builds before deploying
If you’re looking to not build at all, you can add [skip ci] or [skip netlify] to your commit message and Netlify will skip the push
If there’s a use case I’ve missed, can you explain it in more detail for me?
Lastly – if you would still like us to unlink the repo, the email address you have used here on Community doesn’t match the email address used on app.netlify.com. To ensure that you’re the site owner, can I ask that you update your Community email address to reflect the email address on app.netlify.com? Otherwise, we can reach out directly to the email address used on app.netlify.com.