Various airports have different rules.
Dubai was quite lax, you don’t have to take anything out of bags. Maybe they have the new scanners already.
Singapore was more strict, and they do the security check just before the gate which I hated because things like soft drinks etc purchased in duty free had to be consumed before going through (but again, no problem with baby liquids).