Samba kill the locked files from a useraccount by multiple smbd pids

Details Samba server:

Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Kernel version: SunOS 5.10 Generic_142909-17

Samba version:
Samba version 3.5.6

Smb.conf file section Global:
# smb.conf for Airbus Industries fuer Cluster caxhh926/caxhh927
# Version 1.0
#
# Global parameters
#
[global]
#
# Domain settings
#
workgroup = EU
netbios name = caxhhpnfs05
server string = caxhhpnfs05
security = DOMAIN
encrypt passwords = Yes
password server = de0-dc01.eu.airbus.corp, de0-dc02.eu.airbus.corp, de0-dc03.eu.airbus.corp, fr0-dc01.eu.airbus.corp
password level = 6
username level = 6
lanman auth = No
# ntlm auth = No
log level = 3
max log size = 500
syslog = 0
debug uid = Yes
min protocol = COREPLUS
lm announce = No
preferred master = No
local master = No
domain master = No
browse list = no
enhanced browsing = No
dns proxy = No
wins server = 44.191.123.130 44.191.124.130
wins support = No
create mask = 0660
directory mask = 0770
case sensitive = No
default case = lower
preserve case = Yes
short preserve case = Yes
hide files = /lost+found/
hide dot files = Yes
unix charset = ISO8859-15
display charset = ISO8859-15
dos charset = cp850
map readonly = permissions
socket options = TCP_NODELAY SO_KEEPALIVE
deadtime = 15
interfaces = caxhhpnfs05/255.255.248.0
bind interfaces only = Yes
name resolve order = host wins bcast
#
# Samba directories
#
pid directory = /CCDDB.admin/samba/config/caxhhpnfs05/var/locks
log file = /CCDDB.admin/samba/config/caxhhpnfs05/logs/log.%m
smb passwd file = /CCDDB.admin/samba/config/caxhhpnfs05/private/smbpasswd
private dir = /CCDDB.admin/samba/config/caxhhpnfs05/private
lock dir = /CCDDB.admin/samba/config/caxhhpnfs05/var/locks

smbstatus command:
/usr/local/samba/bin/smbstatus -s /CCDDB.admin/samba/config/caxhhpnfs05/lib/smb.conf | more
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: rlimit_max (256) below minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/CCDDB.admin/samba/config/caxhhpnfs05/lib/smb.conf"
Processing section "[global]"
Processing section "[scmondir]"
Processing section "[CCDDB]"
Samba version 3.5.6
PID Username Group Machine
-------------------------------------------------------------------
29229 th89cr th89 hall900067024 (44.165.250.97)
10690 th89bu th89 hall900058297 (44.128.221.224)
22706 th89bu th89 hall900058297 (44.128.221.224)

Problem:
This is the way which allows to identify the locked files from a useraccount by multiple smbd pids (first column)

root@caxhh938:/root > ypcat passwd|grep th16fn
th16fn:xxxxxx:29670:10016:HAM NICOLA FINK:/home/th16fn:/bin/ksh
root@caxhh938:/root > /usr/local/samba/bin/smbstatus -s /CCDDB.admin/samba/config/caxhhpnfs05/lib/smb.conf -L |grep 29670
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: rlimit_max (256) below minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/CCDDB.admin/samba/config/caxhhpnfs05/lib/smb.conf"
Processing section "[global]"
Processing section "[scmondir]"
Processing section "[CCDDB]"
8659 29670 DENY_NONE 0x81 RDONLY NONE /CCDDB.auto .LINKS Wed May 14 12:34:10 2014
8957 29670 DENY_NONE 0x81 RDONLY NONE /CCDDB.auto .LINKS Wed May 14 12:42:14 2014
3865 29670 DENY_NONE 0x81 RDONLY NONE /CCDDB.auto .LINKS Wed May 14 14:14:02 2014
5611 29670 DENY_NONE 0x81 RDONLY NONE /CCDDB.auto .LINKS Wed May 14 16:04:40 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/preview/a000-84188_25f01_10.png Wed May 14 12:41:53 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/preview/a000-84188_25f01_si.png Wed May 14 12:41:55 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/preview/a000-84188_04ss01_17.png Wed May 14 12:41:51 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/a000-84188_04nn01_17.cdd Wed May 14 12:41:50 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/a000-84188_04ss01_17.cdd Wed May 14 12:41:51 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/a000-84188_04ssc01_1.cdd Wed May 14 12:41:52 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/a000-84188_04zz01_17.cdd Wed May 14 12:41:53 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/a000-84188_25f01_10.cdd Wed May 14 12:41:54 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/a000-84188_25f01_si.cdd Wed May 14 12:41:55 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/preview/a000-84188_04ff01_17.png Wed May 14 12:41:46 2014
8659 29670 DENY_NONE 0x100081 RDONLY NONE /CCDDB.auto . Wed May 14 12:34:02 2014
8957 29670 DENY_NONE 0x100081 RDONLY NONE /CCDDB.auto . Wed May 14 12:42:14 2014
3865 29670 DENY_NONE 0x100081 RDONLY NONE /CCDDB.auto . Wed May 14 14:14:01 2014
5611 29670 DENY_NONE 0x100081 RDONLY NONE /CCDDB.auto . Wed May 14 16:04:39 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/preview/a000-84188_04nn01_17.png Wed May 14 12:41:50 2014
8957 29670 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /CCDDB.auto aw/aw-000/80000/preview/a000-84188_04ssc01_1.png Wed May 14 12:41:52 2014
root@caxhh938:/root >

Question:
How to do to kill the locked files from a useraccount by multiple smbd pids automatically when the session is closed ?