diff --git a/dvc/cli.py b/dvc/cli.py
index 27dd57050..aaddf1e73 100644
--- a/dvc/cli.py
+++ b/dvc/cli.py
@@ -22,6 +22,7 @@ from dvc.command.remote import CmdRemoteAdd, CmdRemoteRemove, CmdRemoteModify, C
 from dvc.command.metrics import CmdMetricsShow, CmdMetricsAdd, CmdMetricsRemove
 from dvc.command.install import CmdInstall
 from dvc.command.root import CmdRoot
+from dvc.command.lock import CmdLock, CmdUnlock
 from dvc.stage import Stage
 from dvc import VERSION
 
@@ -498,6 +499,27 @@ def parse_args(argv=None):
                         help='Relative path to project\'s directory')
     root_parser.set_defaults(func=CmdRoot)
 
+    # Lock
+    lock_parser = subparsers.add_parser(
+                        'lock',
+                        parents=[parent_parser],
+                        help='Lock DVC file')
+    lock_parser.add_argument('targets',
+                        nargs='+',
+                        help='DVC files.')
+    lock_parser.set_defaults(func=CmdLock)
+
+    # Unlock
+    unlock_parser = subparsers.add_parser(
+                        'unlock',
+                        parents=[parent_parser],
+                        help='Unlock DVC file')
+    unlock_parser.add_argument('targets',
+                        nargs='+',
+                        help='DVC files.')
+    unlock_parser.set_defaults(func=CmdUnlock)
+
+
     args = parser.parse_args(argv)
 
     return args
diff --git a/dvc/command/lock.py b/dvc/command/lock.py
new file mode 100644
index 000000000..6e0d5850a
--- /dev/null
+++ b/dvc/command/lock.py
@@ -0,0 +1,24 @@
+from dvc.exceptions import DvcException
+from dvc.command.common.base import CmdBase
+
+
+class CmdLockBase(CmdBase):
+    def run(self, unlock=False):
+        for target in self.args.targets:
+            try:
+                self.project.lock_stage(target, unlock=unlock)
+            except DvcException as ex:
+                msg = 'Failed to {}lock \'{}\''.format('un' if unlock else '', target)
+                self.project.logger.error(msg, ex)
+                return 1
+        return 0
+
+
+class CmdLock(CmdLockBase):
+    def run(self):
+        return super(CmdLock, self).run(False)
+
+
+class CmdUnlock(CmdLockBase):
+    def run(self):
+        return super(CmdUnlock, self).run(True)
diff --git a/dvc/project.py b/dvc/project.py
index 582f3e7af..5ff040676 100644
--- a/dvc/project.py
+++ b/dvc/project.py
@@ -138,6 +138,16 @@ class Project(object):
 
         return stage
 
+    def lock_stage(self, target, unlock=False):
+        if not Stage.is_stage_file(target):
+            raise NotDvcFileError(target)
+
+        stage = Stage.load(self, target)
+        stage.locked = False if unlock else True
+        stage.dump()
+
+        return stage
+
     def move(self, from_path, to_path):
         from_out = Output.loads_from(Stage(self, cwd=os.curdir), [from_path])[0]
 
@@ -431,6 +441,8 @@ class Project(object):
         for stage in stages:
             node = os.path.relpath(stage.path, self.root_dir)
             G.add_node(node, stage=stage)
+            if stage.locked:
+                continue
             for dep in stage.deps:
                 for out in outs:
                     if out.path != dep.path and not dep.path.startswith(out.path + out.sep):
diff --git a/dvc/stage.py b/dvc/stage.py
index 47b8dc583..6d51e451c 100644
--- a/dvc/stage.py
+++ b/dvc/stage.py
@@ -42,15 +42,17 @@ class Stage(object):
     PARAM_CMD = 'cmd'
     PARAM_DEPS = 'deps'
     PARAM_OUTS = 'outs'
+    PARAM_LOCKED = 'locked'
 
     SCHEMA = {
         schema.Optional(PARAM_MD5): schema.Or(str, None),
         schema.Optional(PARAM_CMD): schema.Or(str, None),
         schema.Optional(PARAM_DEPS): schema.Or(schema.And(list, schema.Schema([dependency.SCHEMA])), None),
         schema.Optional(PARAM_OUTS): schema.Or(schema.And(list, schema.Schema([output.SCHEMA])), None),
+        schema.Optional(PARAM_LOCKED): bool,
     }
 
-    def __init__(self, project, path=None, cmd=None, cwd=None, deps=[], outs=[], md5=None):
+    def __init__(self, project, path=None, cmd=None, cwd=None, deps=[], outs=[], md5=None, locked=False):
         self.project = project
         self.path = path
         self.cmd = cmd
@@ -58,6 +60,7 @@ class Stage(object):
         self.outs = outs
         self.deps = deps
         self.md5 = md5
+        self.locked = locked
 
     @property
     def relpath(self):
@@ -108,7 +111,12 @@ class Stage(object):
         if self.is_callback:
             ret = True
 
-        for entry in itertools.chain(self.outs, self.deps):
+        if self.locked:
+            entries = self.outs
+        else:
+            entries = itertools.chain(self.outs, self.deps)
+
+        for entry in entries:
             if entry.changed():
                 ret = True
 
@@ -134,7 +142,7 @@ class Stage(object):
         if not self.changed() and not force:
             return None
 
-        if self.cmd or self.is_import:
+        if (self.cmd or self.is_import) and not self.locked:
             # Removing outputs only if we actually have command to reproduce
             self.remove_outs(ignore_remove=False)
 
@@ -162,12 +170,14 @@ class Stage(object):
         cwd = os.path.dirname(path)
         cmd = d.get(Stage.PARAM_CMD, None)
         md5 = d.get(Stage.PARAM_MD5, None)
+        locked = d.get(Stage.PARAM_LOCKED, False)
 
         stage = Stage(project=project,
                       path=path,
                       cmd=cmd,
                       cwd=cwd,
-                      md5=md5)
+                      md5=md5,
+                      locked=locked)
 
         stage.deps = dependency.loadd_from(stage, d.get(Stage.PARAM_DEPS, []))
         stage.outs = output.loadd_from(stage, d.get(Stage.PARAM_OUTS, []))
@@ -182,14 +192,16 @@ class Stage(object):
               outs_no_cache=[],
               metrics_no_cache=[],
               fname=None,
-              cwd=os.curdir):
+              cwd=os.curdir,
+              locked=False):
         cwd = os.path.abspath(cwd)
         path = os.path.join(cwd, fname)
 
         stage = Stage(project=project,
                       path=path,
                       cmd=cmd,
-                      cwd=cwd)
+                      cwd=cwd,
+                      locked=locked)
 
         stage.outs = output.loads_from(stage, outs, use_cache=True)
         stage.outs += output.loads_from(stage, outs_no_cache, use_cache=False)
@@ -217,6 +229,9 @@ class Stage(object):
         if len(outs):
             ret[Stage.PARAM_OUTS] = outs
 
+        if self.locked:
+            ret[Stage.PARAM_LOCKED] = self.locked
+
         ret[Stage.PARAM_MD5] = dict_md5(ret)
 
         return ret
@@ -236,7 +251,10 @@ class Stage(object):
             out.save()
 
     def run(self):
-        if self.is_import:
+        if self.locked:
+            self.project.logger.info(u'Verifying outputs in locked stage \'{}\''.format(self.relpath))
+            self.check_missing_outputs()
+        elif self.is_import:
             msg = u'Importing \'{}\' -> \'{}\''
             self.project.logger.info(msg.format(self.deps[0].path, self.outs[0].rel_path))
 
@@ -280,7 +298,10 @@ class Stage(object):
 
     def status(self):
         ret = {}
-        ret.update(self._status(self.deps, 'deps'))
+
+        if not self.locked:
+            ret.update(self._status(self.deps, 'deps'))
+
         ret.update(self._status(self.outs, 'outs'))
 
         if ret or self.changed_md5() or self.is_callback:

Return dvc lock back
It is convenient to share only data for last steps of a research. Now all the data file are required.
diff --git a/tests/test_repro.py b/tests/test_repro.py
index 27e245fdd..92991d206 100644
--- a/tests/test_repro.py
+++ b/tests/test_repro.py
@@ -14,7 +14,7 @@ from google.cloud import storage as gc
 
 from dvc.main import main
 from dvc.command.repro import CmdRepro
-from dvc.project import Project, ReproductionError
+from dvc.project import Project, ReproductionError, NotDvcFileError
 from dvc.utils import file_md5
 from dvc.remote.local import RemoteLOCAL
 from dvc.stage import Stage
@@ -130,6 +130,37 @@ class TestReproChangedDeepData(TestReproChangedData):
         self.assertEqual(len(stages), 3)
 
 
+class TestReproLocked(TestReproChangedData):
+    def test(self):
+        file2 = 'file2'
+        file2_stage = file2 + '.dvc'
+        self.dvc.run(fname=file2_stage,
+                     outs=[file2],
+                     deps=[self.file1, self.CODE],
+                     cmd='python {} {} {}'.format(self.CODE, self.file1, file2))
+
+        self.swap_foo_with_bar()
+
+        ret = main(['lock', file2_stage])
+        self.assertEqual(ret, 0)
+        stages = self.dvc.reproduce(file2_stage)
+        self.assertEqual(len(stages), 0)
+
+        ret = main(['unlock', file2_stage])
+        self.assertEqual(ret, 0)
+        stages = self.dvc.reproduce(file2_stage)
+        self.assertTrue(filecmp.cmp(self.file1, self.BAR))
+        self.assertTrue(filecmp.cmp(file2, self.BAR))
+        self.assertEqual(len(stages), 3)
+
+    def test_non_existing(self):
+        with self.assertRaises(NotDvcFileError):
+            self.dvc.lock_stage('non-existing-stage')
+
+        ret = main(['lock', 'non-existing-stage'])
+        self.assertNotEqual(ret, 0)
+
+
 class TestReproPhony(TestReproChangedData):
     def test(self):
         stage = self.dvc.run(deps=[self.file1])

pip install -e .
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
altgraph==0.17.4
bcrypt==4.3.0
binaryornot==0.4.4
boto3==1.7.4
botocore==1.10.84
cachetools==4.2.4
certifi==2025.1.31
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.1
colorama==0.4.6
configobj==5.0.9
configparser==7.2.0
cryptography==44.0.2
decorator==5.2.1
dill==0.2.9
docutils==0.21.2
-e git+https://github.com/iterative/dvc.git@b876a446d83e15faca0a65b3576b65e705b2bec5#egg=dvc
exceptiongroup==1.2.2
future==0.16.0
gapic-google-cloud-datastore-v1==0.15.3
gapic-google-cloud-error-reporting-v1beta1==0.15.3
gapic-google-cloud-logging-v2==0.91.3
gitdb==4.0.12
GitPython==3.1.44
google-api-core==0.1.4
google-auth==1.35.0
google-cloud==0.32.0
google-cloud-bigquery==0.28.0
google-cloud-bigquery-datatransfer==0.1.1
google-cloud-bigtable==0.28.1
google-cloud-container==0.1.1
google-cloud-core==0.28.1
google-cloud-datastore==1.4.0
google-cloud-dns==0.28.0
google-cloud-error-reporting==0.28.0
google-cloud-firestore==0.28.0
google-cloud-language==1.0.2
google-cloud-logging==1.4.0
google-cloud-monitoring==0.28.1
google-cloud-pubsub==0.30.1
google-cloud-resource-manager==0.28.1
google-cloud-runtimeconfig==0.28.1
google-cloud-spanner==0.29.0
google-cloud-speech==0.30.0
google-cloud-storage==1.6.0
google-cloud-trace==0.17.0
google-cloud-translate==1.3.1
google-cloud-videointelligence==1.0.1
google-cloud-vision==0.29.0
google-crc32c==1.7.1
google-gax==0.15.16
google-resumable-media==2.7.2
googleapis-common-protos==1.69.2
grpc-google-iam-v1==0.11.4
grpcio==1.71.0
httplib2==0.22.0
idna==3.10
iniconfig==2.1.0
jmespath==0.10.0
jsonpath-rw==1.4.0
macholib==1.16.3
nanotime==0.5.2
networkx==3.2.1
ntfsutils==0.1.5
oauth2client==3.0.0
packaging==24.2
paramiko==3.5.1
pefile==2024.8.26
pluggy==1.5.0
ply==3.8
proto-google-cloud-datastore-v1==0.90.4
proto-google-cloud-error-reporting-v1beta1==0.15.3
proto-google-cloud-logging-v2==0.91.3
protobuf==3.20.3
psutil==5.9.8
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycparser==2.22
PyInstaller==3.3.1
PyNaCl==1.5.0
pyparsing==3.2.3
pytest==8.3.5
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.2
reflink==0.2.0
requests==2.32.3
rsa==4.9
s3transfer==0.1.13
schema==0.7.7
six==1.17.0
smmap==5.0.2
tomli==2.2.1
urllib3==2.3.0
zc.lockfile==3.0.post1

name: dvc
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - altgraph==0.17.4
      - bcrypt==4.3.0
      - binaryornot==0.4.4
      - boto3==1.7.4
      - botocore==1.10.84
      - cachetools==4.2.4
      - certifi==2025.1.31
      - cffi==1.17.1
      - chardet==5.2.0
      - charset-normalizer==3.4.1
      - colorama==0.4.6
      - configobj==5.0.9
      - configparser==7.2.0
      - cryptography==44.0.2
      - decorator==5.2.1
      - dill==0.2.9
      - docutils==0.21.2
      - exceptiongroup==1.2.2
      - future==0.16.0
      - gapic-google-cloud-datastore-v1==0.15.3
      - gapic-google-cloud-error-reporting-v1beta1==0.15.3
      - gapic-google-cloud-logging-v2==0.91.3
      - gitdb==4.0.12
      - gitpython==3.1.44
      - google-api-core==0.1.4
      - google-auth==1.35.0
      - google-cloud==0.32.0
      - google-cloud-bigquery==0.28.0
      - google-cloud-bigquery-datatransfer==0.1.1
      - google-cloud-bigtable==0.28.1
      - google-cloud-container==0.1.1
      - google-cloud-core==0.28.1
      - google-cloud-datastore==1.4.0
      - google-cloud-dns==0.28.0
      - google-cloud-error-reporting==0.28.0
      - google-cloud-firestore==0.28.0
      - google-cloud-language==1.0.2
      - google-cloud-logging==1.4.0
      - google-cloud-monitoring==0.28.1
      - google-cloud-pubsub==0.30.1
      - google-cloud-resource-manager==0.28.1
      - google-cloud-runtimeconfig==0.28.1
      - google-cloud-spanner==0.29.0
      - google-cloud-speech==0.30.0
      - google-cloud-storage==1.6.0
      - google-cloud-trace==0.17.0
      - google-cloud-translate==1.3.1
      - google-cloud-videointelligence==1.0.1
      - google-cloud-vision==0.29.0
      - google-crc32c==1.7.1
      - google-gax==0.15.16
      - google-resumable-media==2.7.2
      - googleapis-common-protos==1.69.2
      - grpc-google-iam-v1==0.11.4
      - grpcio==1.71.0
      - httplib2==0.22.0
      - idna==3.10
      - iniconfig==2.1.0
      - jmespath==0.10.0
      - jsonpath-rw==1.4.0
      - macholib==1.16.3
      - nanotime==0.5.2
      - networkx==3.2.1
      - ntfsutils==0.1.5
      - oauth2client==3.0.0
      - packaging==24.2
      - paramiko==3.5.1
      - pefile==2024.8.26
      - pluggy==1.5.0
      - ply==3.8
      - proto-google-cloud-datastore-v1==0.90.4
      - proto-google-cloud-error-reporting-v1beta1==0.15.3
      - proto-google-cloud-logging-v2==0.91.3
      - protobuf==3.20.3
      - psutil==5.9.8
      - pyasn1==0.6.1
      - pyasn1-modules==0.4.2
      - pycparser==2.22
      - pyinstaller==3.3.1
      - pynacl==1.5.0
      - pyparsing==3.2.3
      - pytest==8.3.5
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==6.0.2
      - reflink==0.2.0
      - requests==2.32.3
      - rsa==4.9
      - s3transfer==0.1.13
      - schema==0.7.7
      - six==1.17.0
      - smmap==5.0.2
      - tomli==2.2.1
      - urllib3==2.3.0
      - zc-lockfile==3.0.post1
prefix: /opt/conda/envs/dvc

tests/test_repro.py::TestReproLocked::test tests/test_repro.py::TestReproLocked::test_non_existing
tests/test_repro.py::TestReproMissingMd5InStageFile::test tests/test_repro.py::TestReproExternalSSH::test tests/test_repro.py::TestReproExternalLOCAL::test tests/test_repro.py::TestReproShell::test
tests/test_repro.py::TestReproDepUnderDir::test tests/test_repro.py::TestReproNoDeps::test tests/test_repro.py::TestReproForce::test tests/test_repro.py::TestReproChangedCode::test tests/test_repro.py::TestReproChangedData::test tests/test_repro.py::TestReproChangedDeepData::test tests/test_repro.py::TestReproPhony::test tests/test_repro.py::TestNonExistingOutput::test tests/test_repro.py::TestReproDataSource::test tests/test_repro.py::TestReproChangedDir::test tests/test_repro.py::TestCmdRepro::test tests/test_repro.py::TestCmdReproChdir::test tests/test_repro.py::TestReproExternalBase::test tests/test_repro.py::TestReproExternalS3::test tests/test_repro.py::TestReproExternalGS::test tests/test_repro.py::TestReproExternalHDFS::test
dvc/command/lock.py dvc/stage.py dvc/project.py dvc/cli.py
dvc/command/lock.py dvc/stage.py dvc/project.py dvc/cli.py