Rearrange All Artboards ignores locked layers
When I use the command Rearrange All Artboards from the Artboards panel object on locked layers are not moved with the artboard.
To test make a document with two artboards and two layers. Draw anything on Layer 1 for each artboard them copy it exactly to Layer 2, or just duplicate Layer 1. Hide or lock a layer then use Rearrange All Artboards to rearrange the dartboards. The objects on the locked or hidden layers do not move with the artboard.
The two screenshots show before and after using Rearrange All Artboards with one layer locked.
-
In a way it makes sense... the object are locked.
Please test if it changes and starts to work the way you expect it to behave if you go to Preferences > Selection & Anchor Display and toggle the 'Move Locked and Hidden Artwork with Artboard'.