added auto_lock on spec.