Mass-assisted local deconfinement in a confined Z2 lattice gauge theory