Hello again,
After some tests I've managed to make the Autoview module to log correctly in the activities reports, and so as to work with the Activity Locking.
The point was to change the log register in the view.php in the line
add_to_log($course->id, "autoview", "view", "view.php?id=$cm->id", $autoview->name, $cm->id);
to
add_to_log($course->id, "autoview", "view", "view.php?id=$cm->id", $autoview->id, $cm->id);
switching 'name' to 'id'.
And I've also added a copy of _user_outline and _user_complete from the resource module in lib.php, changing the 'resourse' entries for 'autoview', what seems to work pretty well.
Thanks for the atention.