add logs for lock acquire and release
timeInSeconds * 1000

timeInSeconds is int type, if timeInSeconds is very big, it makes "timeInseconds * 1000" very small even 0