A while ago I implemented a HideTabs addon that allows to hide tabs and properties in edit mode.
I converted it to .NET Core version and now it can be used in CMS 12.
Nuget package can be downloaded from nuget.optimizely.com
The source code is available on github.