her first concern was to learn the mechanism of the lock , and this she did by examining it closely while the door was open , so that she could learn precisely what caused it to hold the door , and by what means it released at her touch .