How to use "avoided" in a sentence

Sentences

He avoided walking directly in front of the bench, partly from shyness, partly because he did not want to attract her father's attention

I still think you could have avoided issuing all those termination orders

'We have to try not to kill them,' he said, 'if it can possibly be avoided.'

After that I avoided the hole in the wall for most of a day.