I think Excel does do something similar though with Protected View.
https://support.microsoft.com/en-us/office/what-is-protected...
The Protected view in Office instead tells you "Be careful" and to only activate editing when you need to.
If VS Code is still on the same learning curve, hopefully it speeds up a bit.