YES, absolutely it cannot be restrained from tripping if required as a safety measure!
Even with the handle held in the ON position, the breaker will trip if an overcurrent / overload trip occurs, safely disconnecting the load.
This feature is called “trip free” and is contained in all relevant product specifications.
There would be no point in preventing a circuit breaker from full function. It is therefore very important to purchase circuit breakers from a good quality supplier, known to produce a quality product.
Circuit breakers form part of essential equipment employed to keep electrical equipment safe for use!