Illustrator
Web graphics
/
Slices and image maps
Lock slices
Locking slices prevents you from making changes accidentally, such as resizing or moving.
To lock all slices, choose View > Lock Slices.
To lock individual slices, click the slices’ edit column in the Layers panel.
Layers panel overview
This page on the Web