Fixing the locked value to assoc array