Get the list of all locked items in Sitecore.
Syntax
| fast://*[@__lock!='' and @__lock!='<r />'] |
Example
| var database = Sitecore.Context.Database; | |
| var items = database.SelectItems("fast://*[@__lock!='' and @__lock!='<r />']"); | |
| foreach (var item in items) { | |
| // process each item | |
| } |

