makes all locks private and non-lazy