Rebar.lock doesn't include dependencies from prod profile?

So a release profile that is used when you run rebar3 release? The same as we run in the test profile when running rebar3 ct?