Is it possible to lock the new sidebar in 0.42? The button seems to do nothing

Go to Anytype / Settings / Vault / Preferences

Then untick the “Automatically show and hide sidebar” option.

I do not think it was a wise choice to set it as enabled by default for this release.