Sierra allow apps downloaded from
Had the same problem last night. Even after selecting all sources and locking the change, it defaulted back to the original default setting. I opened preferences, made the change, locked it and kept it open on my desktop.