technically it is possible to use CMD lock but you can’t do so if gagged, so there are limits (you cant lock your gag on with the spell since it is verbal spell :3 )
As for the suggestion (allowing player to use more than just simple locks)–part of the last month’s of updates included more modular ways of handling actions with the right-click menu. the user friendliness is important because there are many things hidden behind debug functions that people dont notice right away. There is a lot of demand for being able to use more than just simple locks on yourself so locks and predicaments (curse, magic, etc) will be good for me to focus on for the 5.5 update as discord users seemed to vote for more imprisonment/prison scenario content.
To remove divine restraints you need to talk to an angel by praying at a shrine.