CmdID / PowerShell / Cmdlets / Get
Get-WebConfigurationLock
Gets the lock status of an IIS configuration location. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-FilterSpecifies an XPath filter expression.-LocationSpecifies the location of the IIS configuration setting.-PSPathSpecifies an IIS configuration path in the format computer name/webroot/apphost.