Maybe is something about Concurrency, I already placed some logic to handle this situations, I have to check if something is missing. But the weird thing is when the database gets lock, just one user has it and no one else can write on it (Like open exclusively). I'm not able to see if two users tried to write the same table and the same record at the same time.
Thank you for your suggestions