Example 4.8.5. Let \(A\) and \(B\) be two categories. A morphism \((u,v)\), consisting of a pair of morphisms \(u\colon x_0\to x_1\) and \(v\colon y_0\to y_1\) in \(A\) and \(B\), respectively, is locally \(\pr_A\)-cocartesian if and only if \(v\) is an isomorphism. To see this, we observe that \((u,\id_b)\colon (x_0,b)\to (x_1,b)\) is \(\pr_A\)-cocartesian for any object \(b\) by direct inspection of the universal properties. On the other hand, for any morphism \(u\colon x_0\to x_1\) in \(A\) any object of the form \((x_0,b)\) in \(A\times B\), the morphism \((u,\id_b)\) is a locally \(\pr_A\)-cocartesian lift of \(u\). This implies that a morphism of \(A\times B\) is \(\pr_A\)-cocartesian if and only if it is isomorphic to a morphism of the form \((u,\id_b)\) with \(v\) an isomorphism in \(B\). It is straightforward to see that the latter conditions characterizes the morphisms of \(A\times B\) whose second component is an isomorphism.