I think it would be useful to borrow the Lock Workspace feature from Photoshop for After Effects, esp with the wide use of so many scripts and CEP panels in many workflows. I accidentally pull off tabs or slide them around in my day-to-day use of AE, esp since I’m using a Wacom pen most of the time.
I’m sure there’s some wrinkles to consider, esp when switching Workspaces while locked - do you prompt with a pop-up or automatically switch it?
Jari Hakala commented
You can set your own workspaces and rename them. If you mess things up, you can quickly reset the workspace to the last saved state by double click on the title tap. Hope this helps a bit?