Made Global Changes Lock and Scoped LockType
[WIP] RPC changes