Illustrator is a great tool for creating graphics, but it can be difficult to lock a layer so that you can edit it without affecting the surrounding layers. Here’s how to do it:

  1. Select the layer you want to lock.
  2. Click the “Lock Layer” button in the Layers panel (or press Command-L).
  3. Enter a password in the “Lock Password” field and click OK.
  4. The layer will now be locked and you can’t edit it without first unlocking it. ..