functionlock_modeOn this pagelock_mode1. LOCK_MODE Function The LOCK_MODE function in H2 database is used to retrieve the lock mode of a specified table. 2. Syntax The syntax for the LOCK_MODE function in H2 database is as follows: LOCK_MODE(tableName) Arguments