clear the was_locked flag upon display (bug 877244)