Recent advancement in the development of embedded systems and in the integration of operational and industrial technologies has accelerated the progress of cyber-physical systems (CPSs) development. Cooperation of such systems allows to achieve new functionalities. However, often these systems are time-critical; hence, the developers of these systems are required to provide guarantees of the systems' properties, such as predictability and security. In this paper, we start by glancing through the research devoted to developing time predictable and secure embedded systems. Thereon, we extend the discussion to time-critical and secure CPSs and point out the challenges related to ensuring predictability during their development. In this context, we emphasize the importance of security as a prerequisite for time predictability. Moreover, we identify the gaps in the state of the art and describe our view on ensuring predictability in time-critical and secure CPSs.