Lock

STATIC SUB Lock ( Object AS Object )

Locks an object.

A locked object do not raise any event.