Add table 'locks' - lock resources on scheduler

[#79242754]
Grab lock on radar when checking inputs

[#79242754]
Add Read and Write specific locks

This allows us to be a little more scalable when it comes to sharing a
read lock. We can now have multiple ATCs reading a given resource at the
same time, while writes will block everyone.

[#79242754]
Merge pull request #2 from luan/feature-locking-for-resources-79242754

Ensure that only the most recent version detected from a given check feeds into auto-triggered builds