If close lid on laptop will software be able to backup

If I close the lid on laptop can I my full backup program still do a backup but my external hard drive which is the destination drive and it's is plugged in usb port
 
Back