wiping the key clean he returned to the lock and inserted it , and the oil had done its job as the lock was quickly lying on top of the rag in the sand , and he tentatively pushed the door open , switched on the torch from the tool kit and almost had a heart attack .