Perforce definitely doesn't require you to lock a file before editing it. It allows you to do so, but it doesn't require it. Maybe it's some policy put in place by your company.
It is masked but always present. I don't know who built to it. It came before the first kernel.