In March 2011, Locklear commanded United States Navy forces enforcing the Libyan no-fly zone, with overall command going to General Carter Ham.