automatic locking mechanisms