Added info on the errors with setting visible and locked on a sub-layer.