Fix UserAccount lock/unlock status.

Change-Id: I23b30622ac95a800b6eddce920aecf87c1d2cf11