Yeah totally. This goes beyond legal. But I rent out my basement suite, and even though I've always had good tenants I can never be sure of who may visit. Also my house is often full of neighbourhood kids, no heavy safe required but I sleep better.
The locksmith came and replaced my internal lock with a new one. Great service. The one he replaced it with has mostly brass components, which is better quality than the pot-metal components of the original. Apparently brass is self-lubricating and will last longer. He also took time to properly lubricate the parts that require it. He said that electronic locks can be fairly easily hacked and have a life-span of about 10 years. A good mechanical lock will last 100 years. He definitely recommended bolting it to the floor.