A lightweight C# class that can be used to selectively lock objects, resources or statement blocks according to given unique IDs.