Creating a new storyboard scene creates a new frame even when the layer is locked.
Closing this as duplicate, but cherry-picking the changes from master into 5.0 branch.
*** This bug has been marked as a duplicate of bug 447396 ***
Git commit 93e280f38259b4d55dcbebb29a38cdbb8cd7b560 by Eoin O'Neill.
Committed on 05/04/2022 at 21:16.
Pushed by eoinoneill into branch 'krita/5.0'.
Fix storyboarding docker creating keyframes on locked layers.
Also accounts for layer visibility as well. If you can't see it, you
won't edit the data which is probably the expected behavior.
Related: bug 447396
(cherry picked from commit 75e397c903274ee8bcb6ab6da9797fccc310ec7d)
M +14 -4 plugins/dockers/storyboarddocker/StoryboardModel.cpp