This class allows you to easily lock resources (both passively and/or exclusively) in a multi-threaded environment.