autoremove: Exclude locked packages

This was resulting in errors when trying to remove
since they were locked.