add name of process to lock