add lock view