You can use karabiner elements to remap CAPS LOCK so that it’s ESCAPE when tapped and CONTROL when held.