Stokes problem with several types of boundary conditions in an exterior domain