The function will release a context object, which has been locked before calling the Lock() function.