Oracle Locking errors (3) — causes and fixes

3 Oracle Database Locking errors, each reproduced and fixed on a real database. Pick an error to see the actual output, the fix SQL and the result.