Added lock for unactivated accounts