pep8
wait for closed door befor locking