I'm pushing out a dockutil script nested in the outset login-once folder, for AD users....
I have a couple of lines in the script adding: ~/Documents and ~/Downloads
Both are now showing up as Locked folders. To be clear, they are tagged as such, but still work. In other words, each has the red stop signal on them, but all contents can be listed.
I thought this was maybe a timing thing, maybe the icon was being pulled early, so I added a "sleep 5" to the script to no avail.