Getting locked out can be stressful, but staying calm and knowing what to do can save time and prevent damage.