The cvslock program is used to safely manipulate and inspect CVS repositories; to this end, it properly uses CVS' lock file mechanism.