Installation
ContentLock is distributed as a NuGet package and requires Umbraco CMS.
Install via NuGet CLI
Section titled “Install via NuGet CLI”dotnet add package Umbraco.Community.ContentLockInstall via Package Manager Console (Visual Studio)
Section titled “Install via Package Manager Console (Visual Studio)”Install-Package Umbraco.Community.ContentLockFirst-Run Migration
Section titled “First-Run Migration”On the first startup after installing the package, Umbraco automatically runs the ContentLock migration plan (ContentLockMigrationPlan). This:
- Creates the
ContentLocksdatabase table — stores active locks (content key, user key, timestamps). - Adds the
ContentLock.Unlockerpermission to the built-in Administrators user group.
No manual database changes or configuration is required.
Confirming the Install
Section titled “Confirming the Install”After restarting your Umbraco site:
- Log in to the backoffice.
- Open the Content section.
- Right-click any content node in the tree — you should see a Lock action in the context menu.
- Check for the Content Lock dashboard tab in the Content section header.
Optional: Configure appsettings
Section titled “Optional: Configure appsettings”ContentLock works out of the box with default settings. If you want to customise behaviour (disable online users, configure TURN servers for cross-network audio calls, etc.), add a ContentLock section to your appsettings.json:
{ "ContentLock": { "SignalRClientLogLevel": "Info", "OnlineUsers": { "Enable": true, "Sounds": { "Enable": true } }, "WebRTC": { "Enable": true } }}See the Configuration Overview for all available options.
Next Steps
Section titled “Next Steps”- Quick Start — lock your first node
- Configuration Overview — full settings reference