I imagine that depends entirely on where the viewer lives, it wouldn't surprise me if some countries had laws that made it so.
Mere possession of lock picks themselves, according to this site https://tihk.co/blogs/news/116232133-lock-pick-legality , appear to be enough to get you arrested for intent to commit a crime in 5 states.
Given that laws vary wildly from county to county, city to city, state to state, country to country, sometimes stuff like this is simply CYA for YouTube.
You also have to keep in mind that YouTube is not a webhosting service or content delivery network, they exist to sell adspace for 99% of their income, if advertisers don't want to appear around guns/pornographic material/material of questionable legality/etc then it's well within YouTube's right to prohibit such content whether or not is legal to distribute.
People always rush to scream YouTube/Google is censoring them when they aren't. YouTube is not a government, YouTube is a business that sells ad space.