reset the was locked state when it is checked (bug 1003218)