testing for existence of lock1 before starting