provide lockstate for photo edit