Creates a new drawing layer with the given name. Optionally locks the layer.
Error if the new layer name already exists
Name of the new drawing layer
If true, the layer is locked
Creates a new drawing layer with the given name. Optionally locks the layer.
Throws
Error if the new layer name already exists