yarn creates yarn.lock (whereas npm creates package-lock.json). They both use package.json with the same structure (but with different algorithms).You should follow the official guide.
Official: yarn remove | Yarn
Official: yarn info | Yarn
Official: yarn up | Yarn