You should work on a copy of the original image, like this:
from IPython.html.widgets import interact, interactive, fixed
from IPython.display import display
import skimage
from skimage import data, filter, io
i = data.coffee()
def add_lines(image, line1 = 100, line2 = 200):
new_image = image.copy() # Work on a copy
new_image[line1,:,:] = 0
new_image[line2,:,:] = 0
new_image = io.Image(new_image)
display(new_image)
lims = (0,400,2)
interactive(add_lines, image=fixed(i), line1 = lims, line2 = lims)