A lattice Boltzmann exploration of two-phase displacement in 2D porous media under various pressure boundary conditions