Log automatic locks to modlog.