If you go to protected branches, you can unselect the previously selected permissions to merge and push.