The US Senate has confirmed former Washington Governor Gary Locke as the next Secretary of Commerce.