removed some mutex usage and made the Lock public