Not locked. You can roll it over into a IRA/ roth IRA and manage yourself. You won't pay early withdrawal taxes as long as you roll over within 60 days.
Rollovers typically only happen after employment has ended.
https://www.investopedia.com/terms/i/inservicewithdrawal.asp