There are three methods to detemine the lock-size. They are;
1. Based on the lock-size given while creating the tablespace.
2. Programming can direct the DB2 what lock-size to use
3. If lock-size ANY is specified, DB2 usually choses a lock-size of PAGE