[Msr.Network] Added a method to simplify the process of locking weak pointer.
[Msr.Memory] Moved try_lock() to the new memory library.