Consider a compact surface $S$, possibly with boundary, embedded in $\mathbb{R}^3$, with the induced Riemannian metric. I believe that if $S$ has constant positive Gaussian curvature (that is, $S$ is a piece of a sphere), it is rigid. Here rigid means that all isometric embeddings are related by rigid transformations of the ambient space.
Are surfaces with nonconstant positive curvature also rigid? Conversely, if $S$ has negative curvature, is it always locally nonrigid (a sufficient small neighborhood of any point is nonrigid)?


Rigidity of closed surfaces of positive curvature in $R^3$ is a theorem by S. Cohn-Vossen from 1927. See for instance "Isometric Embedding of Riemannian Manifolds in Euclidean Spaces" by Q.Han, theorem 8.1.2.
As for $C^2$-smooth closed surfaces of negative curvature in $R^3$, they do not exist; hence, one can say that they all are rigid.