recordlocking

In the ‘performance troubleshooting guide’ is said that when a recordset is locked, also the record before and after this record will be locked. When two users create records in the same table and Navision creates a unique key-number these two users will create a deadlock. How can I solve this problem. Best regards, Peter Timmermans CRH Fencing&Security BV Holland