Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Resource locks in 60 seconds

Management & GovernanceGovernanceAWS: Termination protection / SCP deny

What it is

CanNotDelete or ReadOnly locks on a subscription, resource group or resource that stop everyone, even Owners, until the lock is removed.

Simulate it »

✅ Use it when

  • Protecting production from accidental deletion

🚫 Not the best fit when

  • As a replacement for proper RBAC

💰 Price feel: ●○○○ Free or very cheap

Free.

Illustrative pay-as-you-go list prices at approximate exchange rates. Use the Azure pricing calculator for real quotes.

Simulate it

Azure portal: Protect a resource group with a lock Lock a group and try to delete it.
</> Embed

Embed this simulation

Free for trainers, teachers and bloggers. Paste this into your page:

Loading the portal…

Production must never be deleted by accident. In the resource group, open <strong>Locks</strong>.

👆 Click the glowing item in the portal to continue

Read the steps as text
  1. Production must never be deleted by accident. In the resource group, open Locks.
  2. Select + Add.
  3. Two lock types: Delete (CanNotDelete) and Read-only. Pick Delete.
  4. Even an Owner can’t delete it now. Locks apply to everyone and are inherited by every resource inside. To delete, someone must first remove the lock: a deliberate second step.

🧪 Simulation for learning. Screens are simplified versions of the Azure portal; names, prices and IDs are examples. Nothing here touches real Azure.

📘 Full lesson: Resource Locks ❯ ⚖️ Azure RBAC vs Azure Policy vs Resource Locks ❯

Similar services

Install MSDEVBUILD Azure

Free · no account · works offline

Save the whole course for offline ›

Hi, I’m your Nimbus

Your study buddy. Pick what we do next.

MSDEVBUILD · Multi-Stack Dev Build

Sign in to MSDEVBUILD

One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.