Fixed old reference to non template lock type