Create transform_lock_extra.py

This add-on will apply lock transform to all selected object