changed in function _show_locked_msg the "warn" into "_warn"
close #21