It sounds like you are using the "sync to odrive" feature on these folders. Is that correct?
When dealing with "sync to odrive" folders, you cannot rename/move the local folders and without breaking the relationship you've setup between those folders, as @DarfNader mentioned above.
Assuming you are using "sync to odrive" folders and want to move those, the steps you can take are the following:
1) Right-click->"remove sync" on the local folders, making note of the remote locations that they were mapped to.
2) Copy/move the local folders to their new location on your mapped drive to the NAS.
3) Right-click "sync to odrive" on these new folders and point them to the same remote locations they were mapped to previously.
The new locations will be mapped, as they were previously, and sync will continue normally.