Suppose that you're managing a Pacman source cache that remote users have installed from. You might want to change the contents of your cache but only after doing some testing first. There are several ways of dealing with this situation in Pacman (see the tutorials). One simple thing you can do is lock the cache so that remote users can't install or update from your cache while you test the modified contents. To do this, simply
% pacman -allow lock-overrideonce.