add opacity for locked state