Such behavior is expected when current layer is a Shape Layer. But when current layer is some other layer, a new Shape Layer is to be added anyway, so there should be no difference whether current layer is editable or not.
Works now as the locking is no longer done by flake for Krita layers.