Cordons were in place along Whitehall, a main road running past Downing Street where several UK government departments are based.