combined with automatic locking