The BoE raised its key rate to 4% from 3.75%, warning that further hikes may be needed if the US-Iran conflict keeps energy prices elevated.