Visiblility and Locking for layers