Rollback Locking
If the rollback statement is issued without the to savepoint_name option, the statement terminates the transaction and releases all locks held during the transaction. If the to savepoint_name option is included, no locks are released.