locking unsing mysql lock