Fix lock reset error when the lock is timeout
Fix lock reset error when the lock is timeout

The lock needs to update its create_time when
it is acquired by an API session.

Change-Id: I7e968109117a85ed7e72c3aebd524eed6873714b
Closes-Bug: #1578068

openstack/dragonflow,openstack/dragonflow,openstack/dragonflow