My users keep hitting a record lock error despite the class being defined as without sharing. My understanding is that without sharing allows locked records to be edited by any user. This class is the only class called for that object on a before insert trigger, and there are no other triggers on that object. 

```
public without sharing class CPQQuoteTriggerHandler {

public static void setNewQuotetoPrimary(List<SBQQ__Quote__c> quotes) {

    for(SBQQ__Quote__c q : quotes) {
        q.SBQQ__Primary__c = true;
    }
}

public static void falsePrimaryOtherQuotes(List<SBQQ__Quote__c> quotes) {

    Set<Id> parentOppsIdSet = new Set<Id>();
    List<SBQQ__Quote__c> falsePrimaryQuotes = new List<SBQQ__Quote__c>();

    for(SBQQ__Quote__c q : quotes) {
        parentOppsIdSet.add(q.SBQQ__Opportunity2__c);    
    }

    if(parentOppsIdSet.size() > 0){
        for(SBQQ__Quote__c q : [SELECT Id, SBQQ__Opportunity2__c, SBQQ__Primary__c FROM SBQQ__Quote__c WHERE SBQQ__Opportunity2__c IN: parentOppsIdSet]){
            q.SBQQ__Primary__c = false;
            falsePrimaryQuotes.add(q);
        }   
    }

    update falsePrimaryQuotes;
}

}

```