The barking with Yorkies is a tuff one
I am in the midst of trying to get my Zach to stop when I tell him
Sometimes it's funny .....
because if he knows I am out of the way where I can't get to him
I say NO Bark! and I stand in front of him
He'll stop then
but if I am in the shower

He knows I can't confront him
and he'll bark as if he's saying Nyaah Nyaah You can't get me

If it didn't make me so angry I'd laugh
But once they get into a barking jag there's nothing that can stop them if you don't train them
The best way is make a loud noise or even use a water pistol
You have to get them out of the barking mindset
Then - you can correct them