ctrl-alt-del will bring up the taskmanger.
Click the processes tab
Right click on the avast scan process
Change priority

If you schedule a scan, you will have the option to shutdown a system when it is finished.