provide a lockstate for photo uploads