Generally, a free admission to officers isn't automatically unlawful, but its use in the legal system is a tricky matter. The vital factor is whether it was obtained properly. Police must adhere to specific rules, https://panchanandshaw.com/blog/confession-law-guide/