improved docstrings and forbid __eq__ and __ne__ on class 'locked'.