I would love to have a script to show a LockState of ALL personal site on a sharepoint.com I have tried this:
$allSites = Get-SPOSite -IncludePersonalSite $true