diff --git a/.github/lock.yml b/.github/lock.yml
deleted file mode 100644
index 4cf261904dd7a5e8ce688afe68eed8842a900be1..0000000000000000000000000000000000000000
--- a/.github/lock.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Github Lock App configuration
-# https://github.com/apps/lock
-
-# Do not comment on very old issues / prs
-lockComment: false
-
-# Only process issues / prs older than 2 years
-daysUntilLock: 730
-
-# Assign `resolved` as the reason for locking.
-setLockReason: true
-
-# other config
-skipCreatedBefore: false
-lockLabel: false
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
new file mode 100644
index 0000000000000000000000000000000000000000..f6b02ec90250457766c3583d30cba85f1f7fad1e
--- /dev/null
+++ b/.github/workflows/lock.yml
@@ -0,0 +1,20 @@
+name: lock-threads
+
+on:
+  # run daily
+  schedule:
+    - cron: '0 0 * * *'
+
+  # allow manual trigger
+  workflow_dispatch:
+
+jobs:
+  lock:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: dessant/lock-threads@v2.0.1
+        if: github.repository == 'renovatebot/renovate'
+        with:
+          github-token: ${{ github.token }}
+          issue-lock-inactive-days: 730
+          pr-lock-inactive-days: 730