Disallow use [] on shared lock