reveal: fix locked staying true if animation is none
Merge pull request #4037 from ajoslin/reveal-anim-lock

reveal: fix locked staying true if animation is none