Fix #498, do not show cell stats when notebook is locked
Merge pull request #499 from twosigma/alee/fix-498

Fix #498, do not show cell stats when notebook is locked