1.Please go to Library settings -> Versioning Settings -> Set Require Check Out as Yes. Then when users open files, files show Viewing by default.
2.Excel macro is not supported in the browser.
3.From SharePoint side, besides check in and check out feature, there is an OOTB way to achieve this. I recommend you use check in and check out feature to keep others from making changes when you are making changes to a file.
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.