mlock() the proxy context