Hi @mike , welcome to Q&A forum!
Usually users with Edit permissions can edit files, if you don't want users to be able to edit files at will, I suggest you consider using the "Check out" feature.
When you check out a file from a SharePoint document library, only you can edit it. You can edit the file either online in Microsoft 365 or offline and save your changes as often as you like before checking the file back in. Once you're done making changes to the file, check it in from the library to upload your changes. You can discard your changes and undo the check-out if you change your mind.
For more information you could refer to:
Check out or check in files in a document library
In my end it works well:
I use Quick link web part in a page and when I try to edit a file which is checked out by another account (full control):
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.