automatic bolt lock